Property | Type | Description | |
---|---|---|---|
$hashedPassword | |||
$login | |||
$token_auth |
Method | Description | |
---|---|---|
__construct ( ) | ||
authenticate ( ) : Piwik\AuthResult | Authenticates user | |
getLogin ( ) : string | Returns the login of the user being authenticated. | |
getName ( ) : string | Authentication module's name, e.g., "Login" | |
getTokenAuthSecret ( ) : string | Returns the secret used to calculate a user's token auth. | |
setLogin ( string $login ) | Accessor to set login name | |
setPassword ( string $password ) | Sets the password to authenticate with. | |
setPasswordHash ( string $passwordHash ) | Sets the password hash to use when authentication. | |
setTokenAuth ( string $token_auth ) | Accessor to set authentication token |
Method | Description | |
---|---|---|
authenticateWithPassword ( $login, $passwordHash ) | ||
authenticateWithToken ( $token ) | ||
authenticateWithTokenOrHashToken ( $token, $login ) | ||
authenticationSuccess ( array $user ) |
public authenticate ( ) : Piwik\AuthResult | ||
return | Piwik\AuthResult |
public getTokenAuthSecret ( ) : string | ||
return | string |
public setPassword ( string $password ) | ||
$password | string |
public setPasswordHash ( string $passwordHash ) | ||
$passwordHash | string | The password hash. |
public setTokenAuth ( string $token_auth ) | ||
$token_auth | string | authentication token |