PHP Class Auth_OpenID_PAPE_Request

preferred_auth_policies: The authentication policies that the relying party prefers max_auth_age: The maximum time, in seconds, that the relying party wants to allow to have elapsed before the user must re-authenticate
Inheritance: extends Auth_OpenID_Extension
显示文件 Open project: openid/php-openid Class Usage Examples

Public Properties

Property Type Description
$ns_alias
$ns_uri

Public Methods

Method Description
__construct ( $preferred_auth_policies = null, $max_auth_age = null )
addPolicyURI ( $policy_uri ) Add an acceptable authentication policy URI to this request
fromOpenIDRequest ( $request ) Instantiate a Request object from the arguments in a checkid_* OpenID message
getExtensionArgs ( )
parseExtensionArgs ( $args ) Set the state of this request to be that expressed in these PAPE arguments
preferredTypes ( $supported_types ) : array Given a list of authentication policy URIs that a provider supports, this method returns the subsequence of those types that are preferred by the relying party.

Method Details

__construct() public method

public __construct ( $preferred_auth_policies = null, $max_auth_age = null )

addPolicyURI() public method

This method is intended to be used by the relying party to add acceptable authentication types to the request. policy_uri: The identifier for the preferred type of authentication.
public addPolicyURI ( $policy_uri )

fromOpenIDRequest() static public method

Instantiate a Request object from the arguments in a checkid_* OpenID message
static public fromOpenIDRequest ( $request )

getExtensionArgs() public method

public getExtensionArgs ( )

parseExtensionArgs() public method

Set the state of this request to be that expressed in these PAPE arguments
public parseExtensionArgs ( $args )

preferredTypes() public method

Given a list of authentication policy URIs that a provider supports, this method returns the subsequence of those types that are preferred by the relying party.
public preferredTypes ( $supported_types ) : array
return array The sub-sequence of the supported types that are preferred by the relying party. This list will be ordered in the order that the types appear in the supported_types sequence, and may be empty if the provider does not prefer any of the supported authentication types.

Property Details

$ns_alias public_oe property

public $ns_alias

$ns_uri public_oe property

public $ns_uri