dolibarr 20.0.0
|
Class to manage OpenID. More...
Public Member Functions | |
__construct () | |
Constructor. | |
SetOpenIDServer ($a) | |
SetOpenIDServer. | |
SetTrustRoot ($a) | |
SetOpenIDServer. | |
SetCancelURL ($a) | |
SetOpenIDServer. | |
SetApprovedURL ($a) | |
SetApprovedURL. | |
SetRequiredFields ($a) | |
SetRequiredFields. | |
SetOptionalFields ($a) | |
SetOptionalFields. | |
SetIdentity ($a) | |
SetIdentity. | |
GetIdentity () | |
GetIdentity. | |
GetError () | |
SetOpenIDServer. | |
ErrorStore ($code, $desc=null) | |
ErrorStore. | |
IsError () | |
IsError. | |
splitResponse ($response) | |
splitResponse | |
OpenID_Standarize ($openid_identity=null) | |
OpenID_Standarize. | |
array2url ($arr) | |
array2url | |
FSOCK_Request ($url, $method="GET", $params="") | |
FSOCK_Request. | |
HTML2OpenIDServer ($content) | |
HTML2OpenIDServer. | |
GetOpenIDServer ($url='') | |
Get openid server. | |
GetRedirectURL () | |
GetRedirectURL. | |
Redirect () | |
Redirect. | |
validateWithServer () | |
validateWithServer | |
sendDiscoveryRequestToGetXRDS ($url='') | |
Get XRDS response and set possible servers. | |
Class to manage OpenID.
Definition at line 27 of file openid.class.php.
SimpleOpenID::array2url | ( | $arr | ) |
array2url
array | $arr | An array |
Definition at line 280 of file openid.class.php.
Referenced by GetRedirectURL().
SimpleOpenID::ErrorStore | ( | $code, | |
$desc = null ) |
ErrorStore.
string | $code | Code |
string | $desc | Description |
Definition at line 198 of file openid.class.php.
Referenced by FSOCK_Request(), and GetOpenIDServer().
SimpleOpenID::FSOCK_Request | ( | $url, | |
$method = "GET", | |||
$params = "" ) |
FSOCK_Request.
string | $url | URL |
string | $method | Method |
string | $params | Params |
Definition at line 302 of file openid.class.php.
References ErrorStore().
SimpleOpenID::GetError | ( | ) |
SimpleOpenID::GetIdentity | ( | ) |
SimpleOpenID::GetOpenIDServer | ( | $url = '' | ) |
Get openid server.
string | $url | Url to found endpoint |
Definition at line 365 of file openid.class.php.
References ErrorStore(), getDolGlobalString(), getURLContent(), HTML2OpenIDServer(), SetIdentity(), and SetOpenIDServer().
SimpleOpenID::GetRedirectURL | ( | ) |
GetRedirectURL.
Definition at line 396 of file openid.class.php.
References array2url().
Referenced by Redirect().
SimpleOpenID::HTML2OpenIDServer | ( | $content | ) |
HTML2OpenIDServer.
string | $content | Content |
Definition at line 334 of file openid.class.php.
Referenced by GetOpenIDServer().
SimpleOpenID::IsError | ( | ) |
SimpleOpenID::OpenID_Standarize | ( | $openid_identity = null | ) |
OpenID_Standarize.
string | $openid_identity | Server |
Definition at line 252 of file openid.class.php.
SimpleOpenID::Redirect | ( | ) |
SimpleOpenID::sendDiscoveryRequestToGetXRDS | ( | $url = '' | ) |
Get XRDS response and set possible servers.
string | $url | Url of endpoint to request |
Definition at line 489 of file openid.class.php.
SimpleOpenID::SetApprovedURL | ( | $a | ) |
SetApprovedURL.
string | $a | Server |
Definition at line 93 of file openid.class.php.
SimpleOpenID::SetCancelURL | ( | $a | ) |
SetOpenIDServer.
string | $a | Server |
Definition at line 80 of file openid.class.php.
SimpleOpenID::SetIdentity | ( | $a | ) |
SetIdentity.
string | $a | Server |
Definition at line 140 of file openid.class.php.
Referenced by GetOpenIDServer().
SimpleOpenID::SetOpenIDServer | ( | $a | ) |
SetOpenIDServer.
string | $a | Server |
Definition at line 54 of file openid.class.php.
Referenced by GetOpenIDServer().
SimpleOpenID::SetOptionalFields | ( | $a | ) |
SetOptionalFields.
string | array | $a | Server |
Definition at line 123 of file openid.class.php.
SimpleOpenID::SetRequiredFields | ( | $a | ) |
SetRequiredFields.
string | array | $a | Server |
Definition at line 106 of file openid.class.php.
SimpleOpenID::SetTrustRoot | ( | $a | ) |
SetOpenIDServer.
string | $a | Server |
Definition at line 67 of file openid.class.php.
SimpleOpenID::splitResponse | ( | $response | ) |
splitResponse
string | $response | Server |
Definition at line 231 of file openid.class.php.
SimpleOpenID::validateWithServer | ( | ) |