documentation:developer:zzz_archive:open-ils_auth_api:open-ils.auth
Table of Contents
open-ils.auth.authenticate.complete
Client provides the username and passwordhash (see open-ils.auth.authenticate.init). If their password hash is correct for the given username, a session id is returned, if not, "0" is returned
- API Level: 1
- Server Class: open-ils.auth
- Implementation Method: OpenILS::Application::Auth::comp lete_authenticate
- Streaming Method: No
- Cachable Method: No
- Parameters:
- param1
what it is…
- Returns:
- Success
successful format - Failure
failure format (exception, etc)
open-ils.auth.authenticate.init
Generates a random seed and returns it. The client must then perform md5_hex( $seed . md5_hex($password) ) and use that as the passwordhash to open-ils.auth.authenticate.complete
- API Level: 1
- Server Class: open-ils.auth
- Implementation Method: OpenILS::Application::Auth::init _authenticate
- Streaming Method: No
- Cachable Method: No
- Parameters:
- param1
what it is…
- Returns:
- Success
successful format - Failure
failure format (exception, etc)
open-ils.auth.session.delete
Pass in a sessionid and this delete it from the cache
- API Level: 1
- Server Class: open-ils.auth
- Implementation Method: OpenILS::Application::Auth::dele te_session
- Streaming Method: No
- Cachable Method: No
- Parameters:
- param1
what it is…
- Returns:
- Success
successful format - Failure
failure format (exception, etc)
open-ils.auth.session.retrieve
Pass in a sessionid and this returns the username associated with it
- API Level: 1
- Server Class: open-ils.auth
- Implementation Method: OpenILS::Application::Auth::retr ieve_session
- Streaming Method: No
- Cachable Method: No
- Parameters:
- param1
what it is…
- Returns:
- Success
successful format - Failure
failure format (exception, etc)
opensrf.open-ils.system.fieldmapper
what I do
- API Level: 1
- Server Class: open-ils.auth
- Implementation Method: Fieldmapper::publish_fieldmapper
- Streaming Method: No
- Cachable Method: No
- Parameters:
- param1
what it is…
- Returns:
- Success
successful format - Failure
failure format (exception, etc)
documentation/developer/zzz_archive/open-ils_auth_api/open-ils.auth.txt · Last modified: 2022/02/10 13:34 by 127.0.0.1