Class AuthService
category |
System |
---|---|
package |
Authentication |
__construct(\AuthSettingsInterface $settings, \CustomerReadService $customerReadService)
authUser(\AuthCredentialsInterface $authCredentials) : boolean
boolean
Returns the result of the authentication.
getHash(\StringType $password) : string
getRehashedPassword(\StringType $password, \NonEmptyStringType $hash) : string
It will only differ from the given hash if the given hash is valid but does match to the current auth strategy.
\StringType
\NonEmptyStringType
string
Rehashed password.
verify(\StringType $password, \NonEmptyStringType $hash) : boolean
boolean
Returns the result of the verification.