Symfony2 API
Interface

Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolverInterface

interface AuthenticationTrustResolverInterface

Interface for resolving the authentication status of a given token.

Methods

Boolean isAnonymous(TokenInterface $token = null)

Resolves whether the passed token implementation is authenticated anonymously.

Boolean isRememberMe(TokenInterface $token = null)

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

Boolean isFullFledged(TokenInterface $token = null)

Resolves whether the passed token implementation is fully authenticated.

Details

at line 33
public Boolean 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

Boolean

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

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

Parameters

TokenInterface $token

Return Value

Boolean

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

Resolves whether the passed token implementation is fully authenticated.

Parameters

TokenInterface $token

Return Value

Boolean