Method |
Description |
|
behaviors ( ) |
|
|
findByPasswordResetToken ( string $token ) : static | null |
Finds user by password reset token |
|
findByUsername ( string $username ) : static | null |
Finds user by username |
|
findIdentity ( $id ) |
|
|
findIdentityByAccessToken ( $token, $type = null ) |
|
|
generateAuthKey ( ) |
Generates "remember me" authentication key |
|
generatePasswordResetToken ( ) |
Generates new password reset token |
|
getAuthKey ( ) |
|
|
getId ( ) |
|
|
isPasswordResetTokenValid ( string $token ) : boolean |
Finds out if password reset token is valid |
|
removePasswordResetToken ( ) |
Removes password reset token |
|
rules ( ) |
|
|
setPassword ( string $password ) |
Generates password hash from password and sets it to the model |
|
tableName ( ) |
|
|
validateAuthKey ( $authKey ) |
|
|
validatePassword ( string $password ) : boolean |
Validates password |
|