Méthode | Description | |
---|---|---|
authenticateHttpBasic ( ) : |
||
authenticatePlaintext ( $username, $password ) : null | |
||
authenticateSession ( ) : |
||
authenticateToken ( $username, $token, boolean $adminRequired = false ) : null | |
||
generateToken ( $username, $passwordHash ) : string | ||
getPasswordHash ( $username, $plainTextPassword ) : boolean | false | string | ||
isValidUser ( $user ) : boolean | ||
preparePlainTextPassword ( $username, $plainTextPassword ) : string | ||
tokenDecrypt ( $passwordHash, $token ) : array | ||
verifyPassword ( |
public static authenticateHttpBasic ( ) : |
||
Résultat |
public static authenticatePlaintext ( $username, $password ) : null | |
||
$username | ||
$password | ||
Résultat | null | |
public static authenticateSession ( ) : |
||
Résultat |
public static authenticateToken ( $username, $token, boolean $adminRequired = false ) : null | |
||
$username | ||
$token | ||
$adminRequired | boolean | |
Résultat | null | |
public static generateToken ( $username, $passwordHash ) : string | ||
$username | ||
$passwordHash | ||
Résultat | string |
public static getPasswordHash ( $username, $plainTextPassword ) : boolean | false | string | ||
$username | ||
$plainTextPassword | ||
Résultat | boolean | false | string |
public static isValidUser ( $user ) : boolean | ||
$user | ||
Résultat | boolean |
public static preparePlainTextPassword ( $username, $plainTextPassword ) : string | ||
$username | ||
$plainTextPassword | ||
Résultat | string |
public static tokenDecrypt ( $passwordHash, $token ) : array | ||
$passwordHash | ||
$token | ||
Résultat | array |
public static verifyPassword ( |
||
$user | ||
$password | ||
Résultat | boolean |