public class OAuth20CredentialsExtractor extends Object
| Modifier and Type | Field and Description |
|---|---|
protected IndirectClient |
client |
protected O |
configuration |
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
OAuth20CredentialsExtractor(OAuth20Configuration configuration,
IndirectClient client) |
| Modifier and Type | Method and Description |
|---|---|
Optional<C> |
extract(WebContext context) |
protected Optional<OAuth20Credentials> |
getOAuthCredentials(WebContext context)
Get the OAuth credentials from the web context.
|
protected final org.slf4j.Logger logger
protected O extends OAuthConfiguration configuration
protected IndirectClient client
public OAuth20CredentialsExtractor(OAuth20Configuration configuration, IndirectClient client)
protected Optional<OAuth20Credentials> getOAuthCredentials(WebContext context)
context - the web contextpublic Optional<C> extract(WebContext context)
extract in interface CredentialsExtractor<C extends OAuthCredentials>Copyright © 2019. All rights reserved.