TokenAuthenticator
class TokenAuthenticator extends AbstractGuardAuthenticator
TokenAuthenticator for Api access
Properties
private ApiServiceInterface | $apiService | Stores ApiServiceInterface | |
private ConfigServiceInterface | $configService | Stores ConfigServiceInterface | |
private UserPasswordEncoderInterface | $passwordEncoder | Stores UserPasswordEncoderInterface | |
private UserServiceInterface | $userService | Stores UserServiceInterface |
Methods
__construct(ApiServiceInterface $apiService, ConfigServiceInterface $configService, UserPasswordEncoderInterface $passwordEncoder, UserServiceInterface $userService)
No description
supports(Request $request)
No description
getCredentials(Request $request)
No description
getUser($credentials, UserProviderInterface $userProvider)
No description
checkCredentials($credentials, UserInterface $user)
No description
onAuthenticationSuccess(Request $request, TokenInterface $token, $providerKey)
No description
onAuthenticationFailure(Request $request, AuthenticationException $exception)
No description
start(Request $request, AuthenticationException $authException = null)
No description
supportsRememberMe()
No description