Interface

Symfony\Component\Security\Core\Authentication\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

at line 34
public 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