Interface ValidatableAdapterInterface

Summary

Fully Qualified Name: Laminas\Authentication\Adapter\ValidatableAdapterInterface
Extends: AdapterInterface

Description

Methods

Name Description Defined By
authenticate() Performs an authentication attempt AdapterInterface
getCredential() Returns the credential of the account being authenticated, or NULL if none is set. ValidatableAdapterInterface
getIdentity() Returns the identity of the account being authenticated, or NULL if none is set. ValidatableAdapterInterface
setCredential() Sets the credential for binding ValidatableAdapterInterface
setIdentity() Sets the identity for binding ValidatableAdapterInterface

Method Details

authenticate()

Performs an authentication attempt

Returns: \Laminas\Authentication\Result

getCredential()

Returns the credential of the account being authenticated, or NULL if none is set.

Returns: mixed

getIdentity()

Returns the identity of the account being authenticated, or NULL if none is set.

Returns: mixed

setCredential()

Sets the credential for binding

Parameter Name Type Description
$credential mixed

Returns: \ValidatableAdapterInterface

setIdentity()

Sets the identity for binding

Parameter Name Type Description
$identity mixed

Returns: \ValidatableAdapterInterface

Top