TYPO3 CMS  TYPO3_6-2
Auth_Yadis_Discovery Class Reference

Public Member Functions

 Auth_Yadis_Discovery ($session, $url, $session_key_suffix=null)
 
 getNextService ($discover_cb, $fetcher)
 
 cleanup ($force=false)
 
 getSessionKey ()
 
 getManager ($force=false)
 
 createManager ($services, $yadis_url=null)
 
 destroyManager ($force=false)
 

Public Attributes

 $DEFAULT_SUFFIX = 'auth'
 
 $PREFIX = '_yadis_services_'
 

Detailed Description

Definition at line 369 of file Manager.php.

Member Function Documentation

◆ Auth_Yadis_Discovery()

Auth_Yadis_Discovery::Auth_Yadis_Discovery (   $session,
  $url,
  $session_key_suffix = null 
)

Initialize a discovery object.

Parameters
Auth_Yadis_PHPSession$sessionAn object which implements the Auth_Yadis_PHPSession API.
string$urlThe URL on which to attempt discovery.
string$session_key_suffixThe optional session key suffix override.

Initialize a discovery object

Definition at line 390 of file Manager.php.

◆ cleanup()

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.

Parameters
$forceTrue if the manager should be deleted regardless of whether it's a manager for $this->url.

Definition at line 443 of file Manager.php.

◆ createManager()

Auth_Yadis_Discovery::createManager (   $services,
  $yadis_url = null 
)

private

Definition at line 492 of file Manager.php.

◆ destroyManager()

Auth_Yadis_Discovery::destroyManager (   $force = false)

private

Parameters
$forceTrue if the manager should be deleted regardless of whether it's a manager for $this->url.

Definition at line 515 of file Manager.php.

◆ getManager()

Auth_Yadis_Discovery::getManager (   $force = false)

private

Parameters
$forceTrue if the manager should be returned regardless of whether it's a manager for $this->url.

Definition at line 471 of file Manager.php.

◆ 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.

◆ getSessionKey()

Auth_Yadis_Discovery::getSessionKey ( )

private

Definition at line 459 of file Manager.php.

Member Data Documentation

◆ $DEFAULT_SUFFIX

Auth_Yadis_Discovery::$DEFAULT_SUFFIX = 'auth'

private

Definition at line 374 of file Manager.php.

◆ $PREFIX

Auth_Yadis_Discovery::$PREFIX = '_yadis_services_'

private

Definition at line 379 of file Manager.php.