public class OAuthAuthenticator extends Object implements com.yammer.dropwizard.auth.Authenticator<String,org.surfnet.oaaas.auth.principal.AuthenticatedPrincipal>
Authenticator that ask the Authorization Server to check| Constructor and Description |
|---|
OAuthAuthenticator(UniversityFooConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<org.surfnet.oaaas.auth.principal.AuthenticatedPrincipal> |
authenticate(String accessToken) |
public OAuthAuthenticator(UniversityFooConfiguration configuration)
configuration - public com.google.common.base.Optional<org.surfnet.oaaas.auth.principal.AuthenticatedPrincipal> authenticate(String accessToken) throws com.yammer.dropwizard.auth.AuthenticationException
authenticate in interface com.yammer.dropwizard.auth.Authenticator<String,org.surfnet.oaaas.auth.principal.AuthenticatedPrincipal>com.yammer.dropwizard.auth.AuthenticationExceptionCopyright © 2012–2013 SURFnet bv, The Netherlands. All rights reserved.