PHP Класс 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
Наследование: extends Auth_OpenID_Extension
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$ns_alias
$ns_uri

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

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

addPolicyURI() публичный Метод

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() статический публичный Метод

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

getExtensionArgs() публичный Метод

public getExtensionArgs ( )

parseExtensionArgs() публичный Метод

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

preferredTypes() публичный Метод

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
Результат 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.

Описание свойств

$ns_alias публичное свойство

public $ns_alias

$ns_uri публичное свойство

public $ns_uri