AuthServiceProvider
class AuthServiceProvider extends AuthServiceProvider implements UserProvider
Properties
protected string | $model |
Methods
No description
Register any application authentication / authorization services.
Retrieve a user by their unique identifier.
Retrieve a user by their unique identifier and "remember me" token.
Update the "remember me" token for the given user in storage.
Retrieve a user by the given credentials.
Validate a user against the given credentials.
Details
at line 17
__construct($app, $model = Customer::class)
at line 27
void
boot()
Register any application authentication / authorization services.
at line 40
Authenticatable|null
retrieveById(mixed $identifier)
Retrieve a user by their unique identifier.
at line 52
Authenticatable|null
retrieveByToken(mixed $identifier, string $token)
Retrieve a user by their unique identifier and "remember me" token.
at line 63
void
updateRememberToken(Authenticatable $user, string $token)
Update the "remember me" token for the given user in storage.
at line 73
Authenticatable|null
retrieveByCredentials(array $credentials)
Retrieve a user by the given credentials.
at line 93
bool
validateCredentials(Authenticatable $user, array $credentials)
Validate a user against the given credentials.