Auth_Yadis_Manager
in package
The Yadis service manager which stores state in a session and iterates over <Service> elements in a Yadis XRDS document and lets a caller attempt to use each one. This is used by the Yadis library internally.
Table of Contents
- $_current : Auth_OpenID_ServiceEndpoint
- $services : array<string|int, mixed>
- $session_key : string
- $starting_url : string
- $yadis_url : string
- __construct() : mixed
- Intialize a new yadis service manager.
- current() : mixed
- forURL() : bool
- length() : mixed
- nextService() : mixed
- Return the next service
- started() : mixed
Properties
$_current
public
Auth_OpenID_ServiceEndpoint
$_current
$services
public
array<string|int, mixed>
$services
$session_key
public
string
$session_key
$starting_url
public
string
$starting_url
$yadis_url
public
string
$yadis_url
Methods
__construct()
Intialize a new yadis service manager.
public
__construct(string $starting_url, string $yadis_url, array<string|int, mixed> $services, string $session_key) : mixed
Parameters
- $starting_url : string
- $yadis_url : string
- $services : array<string|int, mixed>
- $session_key : string
Tags
Return values
mixed —current()
public
current() : mixed
Tags
Return values
mixed —forURL()
public
forURL(string $url) : bool
Parameters
- $url : string
Tags
Return values
bool —length()
public
length() : mixed
Tags
Return values
mixed —nextService()
Return the next service
public
nextService() : mixed
$this->current() will continue to return that service until the next call to this method.
Return values
mixed —started()
public
started() : mixed