AuthenticationUtils::getLastUsername()

string getLastUsername() Return Value string

AuthenticationUtils::getLastAuthenticationError()

AuthenticationException|null getLastAuthenticationError(bool $clearSession = true) Parameters bool $clearSession Return Value AuthenticationException|null

AuthenticationUtils

class AuthenticationUtils Extracts Security Errors from Request. Methods __construct(RequestStack $requestStack) AuthenticationException|null getLastAuthenticationError(bool $clearSession = true) string getLastUsername() Details __construct(RequestStack $requestStack) Parameters RequestStack $requestStack AuthenticationException|null getLastAuthenticationError(bool $clearSession = true) P

AuthenticationTrustResolverInterface::isRememberMe()

bool isRememberMe(TokenInterface $token = null) Resolves whether the passed token implementation is authenticated using remember-me capabilities. Parameters TokenInterface $token Return Value bool

AuthenticationTrustResolverInterface::isFullFledged()

bool isFullFledged(TokenInterface $token = null) Resolves whether the passed token implementation is fully authenticated. Parameters TokenInterface $token Return Value bool

AuthenticationTrustResolverInterface::isAnonymous()

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

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 impl

AuthenticationTrustResolver::isRememberMe()

bool isRememberMe(TokenInterface $token = null) Resolves whether the passed token implementation is authenticated using remember-me capabilities. Parameters TokenInterface $token Return Value bool

AuthenticationTrustResolver::isFullFledged()

bool isFullFledged(TokenInterface $token = null) Resolves whether the passed token implementation is fully authenticated. Parameters TokenInterface $token Return Value bool

AuthenticationTrustResolver::isAnonymous()

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