public class OAuth2Authenticator extends Object implements io.dropwizard.auth.Authenticator<String,AuthenticatedUser>
| Constructor and Description |
|---|
OAuth2Authenticator(OAuth2ClientConfig configuration,
org.slf4j.Logger logger)
Constructor.
|
@Inject public OAuth2Authenticator(OAuth2ClientConfig configuration, org.slf4j.Logger logger)
configuration - logger - public com.google.common.base.Optional<AuthenticatedUser> authenticate(String accessToken) throws io.dropwizard.auth.AuthenticationException
authenticate in interface io.dropwizard.auth.Authenticator<String,AuthenticatedUser>io.dropwizard.auth.AuthenticationExceptionCopyright © 2015. All rights reserved.