public class OAuth20Authenticator
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected IndirectClient |
client |
protected O |
configuration |
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
OAuth20Authenticator(OAuth20Configuration configuration,
IndirectClient client) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
retrieveAccessToken(WebContext context,
OAuthCredentials credentials)
Retrieve the access token from OAuth credentials.
|
void |
validate(C credentials,
WebContext context) |
protected final org.slf4j.Logger logger
protected O extends OAuthConfiguration configuration
protected IndirectClient client
public OAuth20Authenticator(OAuth20Configuration configuration, IndirectClient client)
protected void retrieveAccessToken(WebContext context, OAuthCredentials credentials)
context - the web contextcredentials - credentialspublic void validate(C credentials,
WebContext context)
validate in interface Authenticator<C extends OAuthCredentials>Copyright © 2018. All Rights Reserved.