메소드 |
설명 |
|
__construct ( Cartalyst\Sentry\Sentry $sentry, Illuminate\Config\Repository $config, Illuminate\Events\Dispatcher $dispatcher ) |
Construct a new SentryUser Object |
|
activate ( integer $id, string $code ) : boolean |
Attempt activation for the specified user |
|
all ( ) : Collection |
Return all the registered users |
|
ban ( integer $id ) : Array |
Ban a user |
|
changeGroupMemberships ( $userId, $selections ) : Sentinel\DataTransferObjects\BaseResponse |
Process a change password request. |
|
changePassword ( $data ) : Sentinel\DataTransferObjects\FailureResponse | Sentinel\DataTransferObjects\SuccessResponse |
Process a password change request |
|
changePasswordWithoutCheck ( $data ) : Sentinel\DataTransferObjects\FailureResponse | Sentinel\DataTransferObjects\SuccessResponse |
Change a user's password without checking their old password first |
|
destroy ( integer $id ) : Sentinel\DataTransferObjects\BaseResponse |
Remove the specified resource from storage. |
|
getUser ( ) : user |
Return the current active user |
|
resend ( Array $data ) : Sentinel\DataTransferObjects\BaseResponse |
Resend the activation email to the specified email address |
|
resetPassword ( integer $id, string $code, $password ) : Array |
Process the password reset request |
|
retrieveByCredentials ( array $credentials ) : Illuminate\Auth\UserInterface | null |
Retrieve a user by the given credentials. |
|
retrieveById ( mixed $identifier ) : Illuminate\Auth\UserInterface | null |
Retrieve a user by their unique identifier. |
|
retrieveByToken ( mixed $identifier, string $token ) : Illuminate\Auth\UserInterface | null |
Retrieve a user by by their unique identifier and "remember me" token. |
|
store ( $data ) : Sentinel\DataTransferObjects\BaseResponse |
Store a newly created user in storage. |
|
suspend ( integer $id ) : Array |
Suspend a user |
|
triggerPasswordReset ( $email ) : Bool |
The user has requested a password reset |
|
unBan ( integer $id ) : Array |
Remove a users' ban |
|
unSuspend ( $id ) : array |
Remove a users' suspension. |
|
update ( array $data ) : Sentinel\DataTransferObjects\BaseResponse |
Update the specified resource in storage. |
|
updateRememberToken ( Illuminate\Contracts\Auth\Authenticatable $user, string $token ) : void |
Update the "remember me" token for the given user in storage. |
|
validateCredentials ( Illuminate\Contracts\Auth\Authenticatable $user, array $credentials ) : boolean |
Validate a user against the given credentials. |
|
validateResetCode ( $id, $code ) : Sentinel\DataTransferObjects\FailureResponse |
Validate a password reset link |
|