Zend\Authentication\AuthenticationServiceInterface
Provides an API for authentication and identity management
Synopsis
interface AuthenticationServiceInterface
{
- // methods
- public Result authenticate()
- public bool hasIdentity()
- public mixed|null getIdentity()
- public void clearIdentity()
Methods
public
- authenticate() — Authenticates and provides an authentication result
- clearIdentity() — Clears the identity
- getIdentity() — Returns the authenticated identity or null if no identity is available
- hasIdentity() — Returns true if and only if an identity is available