auth::authentication::create_contract (private)
auth::authentication::create_contract
Defined in packages/acs-authentication/tcl/apm-callback-procs.tcl
Create service contract for authentication.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set spec { name "auth_authentication" description "Authenticate users and retrieve their account status." operations { Authenticate { description { Validate this username/password combination, and return the result. Valid auth_status codes are 'ok', 'no_account', 'bad_password', 'auth_error', 'failed_to_connect'. The last, 'failed_to_connect', is reserved for communications or implementation errors. auth_message is a human-readable explanation of what went wrong, may contain HTML. Only checked if auth_status is not ok. Valid account_status codes are 'ok' and 'closed'. account_message may be supplied regardless of account_status, and may contain HTML. } input { username:string password:string parameters:string,multiple authority_id:integer } output { auth_status:string auth_message:string account_status:string account_message:string } } MergeUser { description { Merges two accounts given the user_id of each one } input { from_user_id:integer to_user_id:integer authority_id:integer } output {} } GetParameters { description { Get an arraay-list of the parameters required by this service contract implementation. } output { parameters:string,multiple } } } } acs_sc::contract::new_from_spec -spec $specXQL Not present: Generic, PostgreSQL, Oracle