Interface AuthServiceInterface

Interface AuthServiceInterface

Direct known implementers

AuthService

Methods summary

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 getHash( StringType $password ) : string

Returns a hash of the given password.

public getRehashedPassword( StringType $password, NonEmptyStringType $hash ) : string

Returns a new hash of the given password.