Метод | Описание | |
---|---|---|
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 ( ) : |
||
Результат |
public static authenticatePlaintext ( $username, $password ) : null | |
||
$username | ||
$password | ||
Результат | null | |
public static authenticateSession ( ) : |
||
Результат |
public static authenticateToken ( $username, $token, boolean $adminRequired = false ) : null | |
||
$username | ||
$token | ||
$adminRequired | boolean | |
Результат | null | |
public static generateToken ( $username, $passwordHash ) : string | ||
$username | ||
$passwordHash | ||
Результат | string |
public static getPasswordHash ( $username, $plainTextPassword ) : boolean | false | string | ||
$username | ||
$plainTextPassword | ||
Результат | boolean | false | string |
public static isValidUser ( $user ) : boolean | ||
$user | ||
Результат | boolean |
public static preparePlainTextPassword ( $username, $plainTextPassword ) : string | ||
$username | ||
$plainTextPassword | ||
Результат | string |
public static tokenDecrypt ( $passwordHash, $token ) : array | ||
$passwordHash | ||
$token | ||
Результат | array |
public static verifyPassword ( |
||
$user | ||
$password | ||
Результат | boolean |