Cartalyst\Sentinel\Hashing\HasherInterface::check PHP 메소드

check() 공개 메소드

Checks the string against the hashed value.
public check ( string $value, string $hashedValue ) : boolean
$value string
$hashedValue string
리턴 boolean
    public function check($value, $hashedValue);

Usage Example

예제 #1
0
 /**
  * {@inheritDoc}
  */
 public function validateCredentials(UserInterface $user, array $credentials)
 {
     return $this->hasher->check($credentials['password'], $user->password);
 }
HasherInterface