Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Yadis

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

 Class Services_Yadis_Discovery

Description

State management for discovery.

High-level usage pattern is to call .getNextService(discover) in order to find the next available service for this user for this session. Once a request completes, call .finish() to clean up the session state.

Located in /openid/Services/Yadis/Manager.php (line 345)

Class Services_Yadis_Discovery
Method Summary
Constructor Services_Yadis_Discovery Services_Yadis_Discovery ( &$session, string $url, [string $session_key_suffix = null], Services_Yadis_PHPSession $session)
Method void cleanup ()
Method void getNextService ( $discover_cb,  &$fetcher)
Methods
Constructor Services_Yadis_Discovery (line 366)

Initialize a discovery object.

Services_Yadis_Discovery Services_Yadis_Discovery ( &$session, string $url, [string $session_key_suffix = null], Services_Yadis_PHPSession $session)
  • Services_Yadis_PHPSession $session: An object which implements the Services_Yadis_PHPSession API.
  • string $url: The URL on which to attempt discovery.
  • string $session_key_suffix: The optional session key suffix override.
  • &$session
cleanup (line 414)

Clean up Yadis-related services in the session and return the most-recently-attempted service from the manager, if one exists.

void cleanup ()
getNextService (line 384)

Return the next authentication service for the pair of user_input and session. This function handles fallback.

void getNextService ( $discover_cb,  &$fetcher)
  • $discover_cb
  • &$fetcher

Documentation generated on Mon, 05 Mar 2007 21:10:23 +0000 by phpDocumentor 1.3.1