Symfony2 API
Class

Symfony\Component\Security\Core\Authentication\Provider\RememberMeAuthenticationProvider

class RememberMeAuthenticationProvider implements AuthenticationProviderInterface

Methods

__construct(UserCheckerInterface $userChecker, $key, $providerKey)

TokenInterface authenticate(TokenInterface $token)

Attempts to authenticates a TokenInterface object.

Boolean supports(TokenInterface $token)

Checks whether this provider supports the given token.

Details

at line 25
public __construct(UserCheckerInterface $userChecker, $key, $providerKey)

Parameters

UserCheckerInterface $userChecker
$key
$providerKey

at line 32
public TokenInterface authenticate(TokenInterface $token)

Attempts to authenticates 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

at line 51
public Boolean supports(TokenInterface $token)

Checks whether this provider supports the given token.

Parameters

TokenInterface $token A TokenInterface instance

Return Value

Boolean true if the implementation supports the Token, false otherwise