프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$ldapService | |||
$model | string | The user model. |
메소드 | 설명 | |
---|---|---|
__construct ( $model, |
LdapUserProvider constructor. | |
createModel ( ) : |
Create a new instance of the model. | |
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 their unique identifier and "remember me" token. | |
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. |
public __construct ( $model, |
||
$model | ||
$ldapService |
public createModel ( ) : |
||
리턴 |
public retrieveByCredentials ( array $credentials ) : Illuminate\Contracts\Auth\Authenticatable | null | ||
$credentials | array | |
리턴 | Illuminate\Contracts\Auth\Authenticatable | null |
public retrieveById ( mixed $identifier ) : Illuminate\Contracts\Auth\Authenticatable | null | ||
$identifier | mixed | |
리턴 | Illuminate\Contracts\Auth\Authenticatable | null |
public updateRememberToken ( Illuminate\Contracts\Auth\Authenticatable $user, string $token ) : void | ||
$user | Illuminate\Contracts\Auth\Authenticatable | |
$token | string | |
리턴 | void |
public validateCredentials ( Illuminate\Contracts\Auth\Authenticatable $user, array $credentials ) : boolean | ||
$user | Illuminate\Contracts\Auth\Authenticatable | |
$credentials | array | |
리턴 | boolean |
protected LdapService,BookStack\Services $ldapService | ||
리턴 |