Свойство | Type | Description | |
---|---|---|---|
$authenticationMethods | Enabled authentication methods, see the class constants | ||
$basicAuthUsername | The username required for the Auth_HTTPBasicAuth_TOTP method | ||
$container | The container we are attached to | ||
$logoutOnExit | Should I log out the user after the dispatcher exits? | ||
$queryParam | The query parameter for the Auth_QueryString_Plaintext method | ||
$queryParamPassword | The query parameter for the password in the Auth_SplitQueryString_Plaintext method | ||
$queryParamUsername | The query parameter for the username in the Auth_SplitQueryString_Plaintext method | ||
$timeStep | The time step for TOTP authentication | ||
$totpKey | The TOTP secret key |
Méthode | Description | |
---|---|---|
__construct ( |
Public constructor. | |
addAuthenticationMethod ( integer $method ) | Enable an authentication method | |
getAuthenticationMethods ( ) : array | Get the enabled authentication methods | |
getBasicAuthUsername ( ) : string | Get the required username for the HTTP Basic Authentication with TOTP method | |
getLogoutOnExit ( ) : boolean | Should I log out when the dispatcher finishes? | |
getQueryParam ( ) : string | Get the query parameter for the Auth_QueryString_TOTP method | |
getQueryParamPassword ( ) : string | Get the query string for the password in the Auth_SplitQueryString_Plaintext method | |
getQueryParamUsername ( ) : string | Get the query string for the username in the Auth_SplitQueryString_Plaintext method | |
getTimeStep ( ) : integer | Get the time step in seconds for the TOTP in the Auth_HTTPBasicAuth_TOTP method | |
getTotpKey ( ) : string | Get the secret key for the TOTP in the Auth_HTTPBasicAuth_TOTP method | |
getTransparentAuthenticationCredentials ( ) : array | null | Tries to get the transparent authentication credentials from the request | |
removeAuthenticationMethod ( integer $method ) | Disable an authentication method | |
setAuthenticationMethods ( array $authenticationMethods ) | Set the enabled authentication methods | |
setBasicAuthUsername ( string $basicAuthUsername ) | Set the required username for the HTTP Basic Authentication with TOTP method | |
setLogoutOnExit ( boolean $logoutOnExit ) | Set the log out on exit flag (for testing) | |
setQueryParam ( string $queryParam ) | Set the query parameter for the Auth_QueryString_TOTP method | |
setQueryParamPassword ( string $queryParamPassword ) | Set the query string for the password in the Auth_SplitQueryString_Plaintext method | |
setQueryParamUsername ( string $queryParamUsername ) | Set the query string for the username in the Auth_SplitQueryString_Plaintext method | |
setTimeStep ( integer $timeStep ) | Set the time step in seconds for the TOTP in the Auth_HTTPBasicAuth_TOTP method | |
setTotpKey ( string $totpKey ) | Set the secret key for the TOTP in the Auth_HTTPBasicAuth_TOTP method |
Méthode | Description | |
---|---|---|
parseAuthenticationMethods ( $methods ) : array | Parses a list of transparent authentication methods (array or comma separated list of integers or method names) and converts it into an array of integers this class understands. |
Méthode | Description | |
---|---|---|
decryptWithTOTP ( string $encryptedData ) : array | Decrypts a transparent authentication message using a TOTP |
public __construct ( |
||
$container | ||
$config | array |
public addAuthenticationMethod ( integer $method ) | ||
$method | integer |
public getAuthenticationMethods ( ) : array | ||
Résultat | array |
public getBasicAuthUsername ( ) : string | ||
Résultat | string |
public getLogoutOnExit ( ) : boolean | ||
Résultat | boolean |
public getQueryParam ( ) : string | ||
Résultat | string |
public getQueryParamPassword ( ) : string | ||
Résultat | string |
public getQueryParamUsername ( ) : string | ||
Résultat | string |
public getTimeStep ( ) : integer | ||
Résultat | integer |
public getTotpKey ( ) : string | ||
Résultat | string |
public getTransparentAuthenticationCredentials ( ) : array | null | ||
Résultat | array | null |
protected parseAuthenticationMethods ( $methods ) : array | ||
$methods | ||
Résultat | array |
public removeAuthenticationMethod ( integer $method ) | ||
$method | integer |
public setAuthenticationMethods ( array $authenticationMethods ) | ||
$authenticationMethods | array |
public setBasicAuthUsername ( string $basicAuthUsername ) | ||
$basicAuthUsername | string |
public setLogoutOnExit ( boolean $logoutOnExit ) | ||
$logoutOnExit | boolean |
public setQueryParam ( string $queryParam ) | ||
$queryParam | string |
public setQueryParamPassword ( string $queryParamPassword ) | ||
$queryParamPassword | string |
public setQueryParamUsername ( string $queryParamUsername ) | ||
$queryParamUsername | string |
public setTimeStep ( integer $timeStep ) | ||
$timeStep | integer |
public setTotpKey ( string $totpKey ) | ||
$totpKey | string |
protected $authenticationMethods |
protected $basicAuthUsername |
protected $logoutOnExit |
protected $queryParam |
protected $queryParamPassword |
protected $queryParamUsername |