@Singleton public class TokenAuthenticator extends Object implements io.dropwizard.auth.Authenticator<org.jose4j.jwt.consumer.JwtContext,ServiceUserPrincipal>
| Constructor and Description |
|---|
TokenAuthenticator(AuthConfig config,
AuthStore authStore,
DefaultHandler defaultHandler) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ServiceUserPrincipal> |
authenticate(org.jose4j.jwt.consumer.JwtContext jwtContext) |
@Inject public TokenAuthenticator(AuthConfig config, AuthStore authStore, DefaultHandler defaultHandler)
public Optional<ServiceUserPrincipal> authenticate(org.jose4j.jwt.consumer.JwtContext jwtContext)
authenticate in interface io.dropwizard.auth.Authenticator<org.jose4j.jwt.consumer.JwtContext,ServiceUserPrincipal>Copyright © 2020. All rights reserved.