validateUserCredentials() 공개 메소드

public validateUserCredentials ( Illuminate\Contracts\Auth\Authenticatable $user, string $username, string $password ) : boolean
$user Illuminate\Contracts\Auth\Authenticatable
$username string
$password string
리턴 boolean
예제 #1
0
 /**
  * Validate a user against the given credentials.
  *
  * @param  \Illuminate\Contracts\Auth\Authenticatable $user
  * @param  array                                      $credentials
  * @return bool
  */
 public function validateCredentials(Authenticatable $user, array $credentials)
 {
     return $this->ldapService->validateUserCredentials($user, $credentials['username'], $credentials['password']);
 }