AuthenticationManagerInterface

interface AuthenticationManagerInterface

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

Methods

TokenInterface authenticate(TokenInterface $token)

Attempts to authenticate a TokenInterface object.

Details

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