Provides an API for authentication and identity management

 Methods

Authenticates and provides an authentication result

authenticate() : \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() : bool

Returns

bool