- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xo::oauth::Credentials
::xo::oauth::Credentials create ...All credentials are unique only between a client-server pair, which is the reason to store the client and server id at this level. Defined in /var/www/openacs.org/packages/xooauth/tcl/oauth-procs.tcl
Class Relations
- class: ::xo::db::CrClass
- superclass: ::xo::db::CrItem
- subclass: ::xo::oauth::TempCredentials, ::xo::oauth::TokenCredentials, ::xo::oauth::ClientCredentials
Methods (to be applied on instances)
as_encoded_string (scripted)
client_metadata_id (setter)
credentials_id (setter)
identifier (setter)
mime_type (setter)
secret (setter)
server_metadata_id (setter)
update (scripted)
Variables
::xo::oauth::Credentials set __default_metaclass ::xotcl::Class ::xo::oauth::Credentials set __default_superclass ::xotcl::Object ::xo::oauth::Credentials set abstract_p f ::xo::oauth::Credentials set auto_save false ::xo::oauth::Credentials array set db_constraints {server_metadata_id {{references \ {cr_items(item_id) on delete cascade}} {references \ {cr_items(item_id) on delete cascade}}} client_metadata_id {{references \ {cr_items(item_id) on delete cascade}} {references {cr_items(item_id) on delete cascade}}}} ::xo::oauth::Credentials array set db_slot \ {creation_date ::xo::db::Object::slot::creation_date server_metadata_id \ ::xo::oauth::Credentials::slot::server_metadata_id creation_user \ ::xo::db::Object::slot::creation_user object_id ::xo::db::Object::slot::object_id description \ ::xo::db::CrItem::slot::description creation_ip ::xo::db::Object::slot::creation_ip text \ ::xo::db::CrItem::slot::text package_id ::xo::db::Object::slot::package_id object_title \ ::xo::db::Object::slot::object_title nls_language ::xo::db::CrItem::slot::nls_language \ security_inherit_p ::xo::db::Object::slot::security_inherit_p context_id \ ::xo::db::Object::slot::context_id name ::xo::db::CrItem::slot::name mime_type \ ::xo::db::CrItem::slot::mime_type credentials_id \ ::xo::oauth::Credentials::slot::credentials_id title ::xo::db::CrItem::slot::title identifier \ ::xo::oauth::Credentials::slot::identifier client_metadata_id \ ::xo::oauth::Credentials::slot::client_metadata_id item_id ::xo::db::CrItem::slot::item_id \ revision_id ::xo::db::CrItem::slot::revision_id modifying_user \ ::xo::db::Object::slot::modifying_user publish_date ::xo::db::CrItem::slot::publish_date \ last_modified ::xo::db::Object::slot::last_modified secret \ ::xo::oauth::Credentials::slot::secret modifying_ip ::xo::db::Object::slot::modifying_ip} ::xo::oauth::Credentials set folder_id -100 ::xo::oauth::Credentials set id_column credentials_id ::xo::oauth::Credentials set mime_type text/plain ::xo::oauth::Credentials set name_method {} ::xo::oauth::Credentials set non_cached_instance_var_patterns __* ::xo::oauth::Credentials set object_type ::xo::oauth::Credentials ::xo::oauth::Credentials set object_type_key 000000000000111100011100 ::xo::oauth::Credentials set pretty_name {OAuth Credentials} ::xo::oauth::Credentials set pretty_plural {OAuth Credentials} ::xo::oauth::Credentials set security_inherit_p t ::xo::oauth::Credentials set sql_package_name ::xo::oauth::Credentials ::xo::oauth::Credentials set storage_type text ::xo::oauth::Credentials set supertype content_revision ::xo::oauth::Credentials set table_name xooauth_credentials ::xo::oauth::Credentials set with_table true
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables