Constructor and Description |
---|
SampleOAuth2Authenticator() |
Modifier and Type | Method and Description |
---|---|
Optional<io.dropwizard.auth.PrincipalImpl> |
authenticate(String token) |
public Optional<io.dropwizard.auth.PrincipalImpl> authenticate(String token) throws io.dropwizard.auth.AuthenticationException
authenticate
in interface io.dropwizard.auth.Authenticator<String,io.dropwizard.auth.PrincipalImpl>
io.dropwizard.auth.AuthenticationException
Copyright © 2014–2017. All rights reserved.