Method | Description | |
---|---|---|
__construct ( $endpoint, $assoc ) | Initialize an authentication request with the specified token, association, and endpoint. | |
addExtension ( $extension_request ) | Add an extension to this checkid request. | |
addExtensionArg ( string $namespace, string $key, string $value ) | Add an extension argument to this OpenID authentication request. | |
formMarkup ( $realm, $return_to = null, $immediate = false, $form_tag_attrs = null ) | Get html for a form to submit this request to the IDP. | |
getMessage ( string $realm, string $return_to = null, boolean $immediate = false ) | Produce a {@link Auth_OpenID_Message} representing this request. | |
htmlMarkup ( $realm, $return_to = null, $immediate = false, $form_tag_attrs = null ) | Get a complete html document that will autosubmit the request to the IDP. | |
redirectURL ( $realm, $return_to = null, $immediate = false ) | ||
setAnonymous ( $is_anonymous ) | Set whether this request should be made anonymously. If a request is anonymous, the identifier will not be sent in the request. This is only useful if you are making another kind of request with an extension in this request. | |
shouldSendRedirect ( ) |
public __construct ( $endpoint, $assoc ) |
public addExtension ( $extension_request ) |
public addExtensionArg ( string $namespace, string $key, string $value ) | ||
$namespace | string | The namespace for the extension. For example, the simple registration extension uses the namespace 'sreg'. |
$key | string | The key within the extension namespace. For example, the nickname field in the simple registration extension's key is 'nickname'. |
$value | string | The value to provide to the server for this argument. |
public formMarkup ( $realm, $return_to = null, $immediate = false, $form_tag_attrs = null ) |
public getMessage ( string $realm, string $return_to = null, boolean $immediate = false ) | ||
$realm | string | The URL (or URL pattern) that identifies your web site to the user when she is authorizing it. |
$return_to | string | The URL that the OpenID provider will send the user back to after attempting to verify her identity. Not specifying a return_to URL means that the user will not be returned to the site issuing the request upon its completion. |
$immediate | boolean | If true, the OpenID provider is to send back a response immediately, useful for behind-the-scenes authentication attempts. Otherwise the OpenID provider may engage the user before providing a response. This is the default case, as the user may need to provide credentials or approve the request before a positive response can be sent. |
public htmlMarkup ( $realm, $return_to = null, $immediate = false, $form_tag_attrs = null ) |
public setAnonymous ( $is_anonymous ) |