interface AuthenticationManagerInterface

AuthenticationManagerInterface is the interface for authentication managers, which process Token authentication.

Methods

authenticate(TokenInterface $token)

Attempts to authenticate a TokenInterface object.

Details

at line line 34
TokenInterface authenticate(TokenInterface $token)

Attempts to authenticate a TokenInterface object.

Parameters

TokenInterface $token The TokenInterface instance to authenticate

Return Value

TokenInterface An authenticated TokenInterface instance, never null

Exceptions

AuthenticationException if the authentication fails