Class to manage OpenID.
More...
Class to manage OpenID.
Definition at line 27 of file openid.class.php.
◆ array2url()
SimpleOpenID::array2url |
( |
|
$arr | ) |
|
array2url
- Parameters
-
- Returns
- false|string false if KO, string of url if OK
Definition at line 279 of file openid.class.php.
◆ ErrorStore()
SimpleOpenID::ErrorStore |
( |
|
$code, |
|
|
|
$desc = null |
|
) |
| |
ErrorStore.
- Parameters
-
string | $code | Code |
string | $desc | Description |
- Returns
- void
Definition at line 198 of file openid.class.php.
◆ FSOCK_Request()
SimpleOpenID::FSOCK_Request |
( |
|
$url, |
|
|
|
$method = "GET" , |
|
|
|
$params = "" |
|
) |
| |
FSOCK_Request.
- Parameters
-
string | $url | URL |
string | $method | Method |
string | $params | Params |
- Returns
- boolean|void True if success, False if error
Definition at line 301 of file openid.class.php.
◆ GetError()
SimpleOpenID::GetError |
( |
| ) |
|
◆ GetIdentity()
SimpleOpenID::GetIdentity |
( |
| ) |
|
◆ GetOpenIDServer()
SimpleOpenID::GetOpenIDServer |
( |
|
$url = '' | ) |
|
Get openid server.
- Parameters
-
string | $url | Url to found endpoint |
- Returns
- string Endpoint
Definition at line 363 of file openid.class.php.
◆ GetRedirectURL()
SimpleOpenID::GetRedirectURL |
( |
| ) |
|
◆ HTML2OpenIDServer()
SimpleOpenID::HTML2OpenIDServer |
( |
|
$content | ) |
|
HTML2OpenIDServer.
- Parameters
-
- Returns
- array Array of servers
Definition at line 333 of file openid.class.php.
◆ IsError()
SimpleOpenID::IsError |
( |
| ) |
|
◆ OpenID_Standarize()
SimpleOpenID::OpenID_Standarize |
( |
|
$openid_identity = null | ) |
|
OpenID_Standarize.
- Parameters
-
string | $openid_identity | Server |
- Returns
- string
Definition at line 251 of file openid.class.php.
◆ Redirect()
SimpleOpenID::Redirect |
( |
| ) |
|
◆ sendDiscoveryRequestToGetXRDS()
SimpleOpenID::sendDiscoveryRequestToGetXRDS |
( |
|
$url = '' | ) |
|
Get XRDS response and set possible servers.
- Parameters
-
string | $url | Url of endpoint to request |
- Returns
- string First endpoint OpenID server found. False if it failed to found.
Definition at line 489 of file openid.class.php.
◆ SetApprovedURL()
SimpleOpenID::SetApprovedURL |
( |
|
$a | ) |
|
◆ SetCancelURL()
SimpleOpenID::SetCancelURL |
( |
|
$a | ) |
|
◆ SetIdentity()
SimpleOpenID::SetIdentity |
( |
|
$a | ) |
|
◆ SetOpenIDServer()
SimpleOpenID::SetOpenIDServer |
( |
|
$a | ) |
|
◆ SetOptionalFields()
SimpleOpenID::SetOptionalFields |
( |
|
$a | ) |
|
◆ SetRequiredFields()
SimpleOpenID::SetRequiredFields |
( |
|
$a | ) |
|
◆ SetTrustRoot()
SimpleOpenID::SetTrustRoot |
( |
|
$a | ) |
|
◆ splitResponse()
SimpleOpenID::splitResponse |
( |
|
$response | ) |
|
◆ ValidateWithServer()
SimpleOpenID::ValidateWithServer |
( |
| ) |
|
The documentation for this class was generated from the following file: