Class AuthService
Class AuthService
- AuthService implements AuthServiceInterface
Package: Authentication
Category: System
Located at Services/Core/Authentication/AuthService.inc.php
Category: System
Located at Services/Core/Authentication/AuthService.inc.php
Methods summary
public
__construct( AuthSettingsInterface $settings, CustomerReadService $customerReadService )
Authentication constructor.
public
authUser( AuthCredentialsInterface $authCredentials )
: boolean
Authenticates a user by its email and password stored in the given AuthCredentialsInterface object.
public
verify( StringType $password, NonEmptyStringType $hash )
: boolean
Verifies a password by its hash.
public
getRehashedPassword( StringType $password, NonEmptyStringType $hash )
: string
Returns a new hash of the given password.