Свойство | Type | Description | |
---|---|---|---|
$hasher | Illuminate\Contracts\Hashing\Hasher | The hasher implementation. | |
$model | MongolidLaravel\MongoLidModel | The MongoLid user model. |
Méthode | Description | |
---|---|---|
__construct ( Illuminate\Contracts\Hashing\Hasher $hasher, MongolidLaravel\MongoLidModel $model ) | Create a new database user provider. | |
retrieveByCredentials ( array $credentials ) : Illuminate\Contracts\Auth\Authenticatable | null | Retrieve a user by the given credentials. | |
retrieveByID ( mixed $identifier ) : Illuminate\Contracts\Auth\Authenticatable | null | Retrieve a user by their unique identifier. | |
retrieveByToken ( mixed $identifier, string $token ) : Illuminate\Contracts\Auth\Authenticatable | null | Retrieve a user by by their unique identifier and "remember me" token. | |
updateRememberToken ( Illuminate\Contracts\Auth\Authenticatable $user, string $token ) | 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. |
Méthode | Description | |
---|---|---|
createModel ( ) : MongolidLaravel\MongoLidModel | Create a new instance of the model. |
public __construct ( Illuminate\Contracts\Hashing\Hasher $hasher, MongolidLaravel\MongoLidModel $model ) | ||
$hasher | Illuminate\Contracts\Hashing\Hasher | |
$model | MongolidLaravel\MongoLidModel |
protected createModel ( ) : MongolidLaravel\MongoLidModel | ||
Résultat | MongolidLaravel\MongoLidModel |
public retrieveByCredentials ( array $credentials ) : Illuminate\Contracts\Auth\Authenticatable | null | ||
$credentials | array | |
Résultat | Illuminate\Contracts\Auth\Authenticatable | null |
public retrieveByID ( mixed $identifier ) : Illuminate\Contracts\Auth\Authenticatable | null | ||
$identifier | mixed | |
Résultat | Illuminate\Contracts\Auth\Authenticatable | null |
public updateRememberToken ( Illuminate\Contracts\Auth\Authenticatable $user, string $token ) | ||
$user | Illuminate\Contracts\Auth\Authenticatable | |
$token | string |
public validateCredentials ( Illuminate\Contracts\Auth\Authenticatable $user, array $credentials ) : boolean | ||
$user | Illuminate\Contracts\Auth\Authenticatable | |
$credentials | array | |
Résultat | boolean |
protected Hasher,Illuminate\Contracts\Hashing $hasher | ||
Résultat | Illuminate\Contracts\Hashing\Hasher |