Method | 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 ( ) : |
||
return |
public static authenticatePlaintext ( $username, $password ) : null | |
||
$username | ||
$password | ||
return | null | |
public static authenticateSession ( ) : |
||
return |
public static authenticateToken ( $username, $token, boolean $adminRequired = false ) : null | |
||
$username | ||
$token | ||
$adminRequired | boolean | |
return | null | |
public static generateToken ( $username, $passwordHash ) : string | ||
$username | ||
$passwordHash | ||
return | string |
public static getPasswordHash ( $username, $plainTextPassword ) : boolean | false | string | ||
$username | ||
$plainTextPassword | ||
return | boolean | false | string |
public static isValidUser ( $user ) : boolean | ||
$user | ||
return | boolean |
public static preparePlainTextPassword ( $username, $plainTextPassword ) : string | ||
$username | ||
$plainTextPassword | ||
return | string |
public static tokenDecrypt ( $passwordHash, $token ) : array | ||
$passwordHash | ||
$token | ||
return | array |
public static verifyPassword ( |
||
$user | ||
$password | ||
return | boolean |