Interface

Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolverInterface

interface AuthenticationTrustResolverInterface

Interface for resolving the authentication status of a given token.

Methods

bool isAnonymous(TokenInterface $token = null)

Resolves whether the passed token implementation is authenticated anonymously.

bool isRememberMe(TokenInterface $token = null)

Resolves whether the passed token implementation is authenticated using remember-me capabilities.

bool isFullFledged(TokenInterface $token = null)

Resolves whether the passed token implementation is fully authenticated.

Details

at line 33
public bool isAnonymous(TokenInterface $token = null)

Resolves whether the passed token implementation is authenticated anonymously.

If null is passed, the method must return false.

Parameters

TokenInterface $token

Return Value

bool

at line 43
public bool isRememberMe(TokenInterface $token = null)

Resolves whether the passed token implementation is authenticated using remember-me capabilities.

Parameters

TokenInterface $token

Return Value

bool

at line 52
public bool isFullFledged(TokenInterface $token = null)

Resolves whether the passed token implementation is fully authenticated.

Parameters

TokenInterface $token

Return Value

bool