Provides an API for authentication and identity management

package Default

 Methods

Authenticates and provides an authentication result

authenticate() : \Zend\Authentication\Result

Returns

\Zend\Authentication\Result

Clears the identity

clearIdentity() : void

Returns the authenticated identity or null if no identity is available

getIdentity() : mixed | null

Returns

mixednull

Returns true if and only if an identity is available

hasIdentity() : boolean

Returns

boolean