PHP Класс Sentinel\Models\User

Наследование: extends Cartalyst\Sentry\Users\Eloquent\User, implements Illuminate\Contracts\Auth\Authenticatable, use trait Venturecraft\Revisionable\RevisionableTrait
Показать файл Открыть проект

Открытые методы

Метод Описание
boot ( ) Set the Sentry User Model Hasher to be the same as the configured Sentry Hasher
getAuthIdentifier ( ) : mixed Get the unique identifier for the user.
getAuthIdentifierName ( ) : string Get the name of the unique identifier for the user.
getAuthPassword ( ) : string Get the password for the user.
getHashAttribute ( ) : mixed Use a mutator to derive the appropriate hash for this user
getRememberToken ( ) : string Get the token value for the "remember me" session.
getRememberTokenName ( ) : string Get the column name for the "remember me" token.
getStatusAttribute ( ) : [type] Use an accessor method to get the user's status from the throttle table
setRememberToken ( string $value ) : void Set the token value for the "remember me" session.
throttle ( ) : Cartalyst\Sentry\Throttling\Eloquent\Throttle | null The throttle object for this user, if one exists

Описание методов

boot() публичный статический Метод

Set the Sentry User Model Hasher to be the same as the configured Sentry Hasher
public static boot ( )

getAuthIdentifier() публичный Метод

Get the unique identifier for the user.
public getAuthIdentifier ( ) : mixed
Результат mixed

getAuthIdentifierName() публичный Метод

Get the name of the unique identifier for the user.
public getAuthIdentifierName ( ) : string
Результат string

getAuthPassword() публичный Метод

Get the password for the user.
public getAuthPassword ( ) : string
Результат string

getHashAttribute() публичный Метод

Use a mutator to derive the appropriate hash for this user
public getHashAttribute ( ) : mixed
Результат mixed

getRememberToken() публичный Метод

Get the token value for the "remember me" session.
public getRememberToken ( ) : string
Результат string

getRememberTokenName() публичный Метод

Get the column name for the "remember me" token.
public getRememberTokenName ( ) : string
Результат string

getStatusAttribute() публичный Метод

Use an accessor method to get the user's status from the throttle table
public getStatusAttribute ( ) : [type]
Результат [type]

setRememberToken() публичный Метод

Set the token value for the "remember me" session.
public setRememberToken ( string $value ) : void
$value string
Результат void

throttle() публичный Метод

The throttle object for this user, if one exists
public throttle ( ) : Cartalyst\Sentry\Throttling\Eloquent\Throttle | null
Результат Cartalyst\Sentry\Throttling\Eloquent\Throttle | null