ILIAS
Release_4_1_x_branch Revision 61804
|
Public Member Functions | |
Auth_Yadis_Discovery ($session, $url, $session_key_suffix=null) | |
Initialize a discovery object. | |
getNextService ($discover_cb, $fetcher) | |
Return the next authentication service for the pair of user_input and session. | |
cleanup ($force=false) | |
Clean up Yadis-related services in the session and return the most-recently-attempted service from the manager, if one exists. | |
getSessionKey () | |
private | |
getManager ($force=false) | |
private | |
createManager ($services, $yadis_url=null) | |
private | |
destroyManager ($force=false) | |
private |
Data Fields | |
$DEFAULT_SUFFIX = 'auth' | |
private | |
$PREFIX = '_yadis_services_' | |
private |
Definition at line 369 of file Manager.php.
Auth_Yadis_Discovery::Auth_Yadis_Discovery | ( | $session, | |
$url, | |||
$session_key_suffix = null |
|||
) |
Initialize a discovery object.
Auth_Yadis_PHPSession | $session | An object which implements the Auth_Yadis_PHPSession API. |
string | $url | The URL on which to attempt discovery. |
string | $session_key_suffix | The optional session key suffix override. |
Initialize a discovery object
Definition at line 390 of file Manager.php.
References $DEFAULT_SUFFIX.
Auth_Yadis_Discovery::cleanup | ( | $force = false | ) |
Clean up Yadis-related services in the session and return the most-recently-attempted service from the manager, if one exists.
$force | True if the manager should be deleted regardless of whether it's a manager for $this->url. |
Definition at line 441 of file Manager.php.
References destroyManager(), and getManager().
Auth_Yadis_Discovery::createManager | ( | $services, | |
$yadis_url = null |
|||
) |
private
Definition at line 490 of file Manager.php.
References $loader, getManager(), and getSessionKey().
Referenced by getNextService().
Auth_Yadis_Discovery::destroyManager | ( | $force = false | ) |
private
$force | True if the manager should be deleted regardless of whether it's a manager for $this->url. |
Definition at line 513 of file Manager.php.
References getManager(), and getSessionKey().
Referenced by cleanup(), and getNextService().
Auth_Yadis_Discovery::getManager | ( | $force = false | ) |
private
$force | True if the manager should be returned regardless of whether it's a manager for $this->url. |
Definition at line 469 of file Manager.php.
References $loader, and getSessionKey().
Referenced by cleanup(), createManager(), destroyManager(), and getNextService().
Auth_Yadis_Discovery::getNextService | ( | $discover_cb, | |
$fetcher | |||
) |
Return the next authentication service for the pair of user_input and session.
This function handles fallback.
Definition at line 408 of file Manager.php.
References $loader, createManager(), destroyManager(), and getManager().
Auth_Yadis_Discovery::getSessionKey | ( | ) |
private
Definition at line 457 of file Manager.php.
Referenced by createManager(), destroyManager(), and getManager().
Auth_Yadis_Discovery::$DEFAULT_SUFFIX = 'auth' |
Auth_Yadis_Discovery::$PREFIX = '_yadis_services_' |
private
Definition at line 379 of file Manager.php.