authenticate()
authenticate(array $credentials, \Pivot\Authentication\Adaptors\PossibleIdentity $possibleIdentity) : boolean
Performs a $bcrypt->verify on the supplied credentials/identity
Parameters
array | $credentials | $credentials->password expected |
\Pivot\Authentication\Adaptors\PossibleIdentity | $possibleIdentity | Pivot\Authentication\Identity\PossibleIdentity |
Returns
boolean —Is the passowrd valid