public interface OAuth2Context
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getAccessTokenParameters()
Gets a map of any additional OAuth 2.0 access token parameters These parameters are used when retrieving the
access token during the initial access token retrieval
|
String |
getAccessTokenUrl()
Get the OAuth 2.0 Access Token URL The Access Token URL is used when retrieving new access and refresh tokens.
|
Map<String,String> |
getAuthorizationParameters()
Gets a map of any additional OAuth 2.0 authorization parameters These parameters are used when retrieving the
authorization code during the initial access token retrieval
|
String |
getAuthorizationTokenUrl()
Get the OAuth 2.0 Authorization Token URL The authorization token url is used retrieve the authorization code.
|
String |
getClientId()
Get the OAuth 2.0 Client ID
|
String |
getClientSecret()
Get the OAuth 2.0 Client Secret
|
String |
getGrantType()
Get the OAuth 2.0 Grant Type
|
JwtAssertionParameters |
getJwtAssertionParameters()
Get the claims used to build the JWT assertion.
|
OAuth2Token |
getOAuth2Token(boolean forceUpdate)
Gets an up-to-date OAuth2Token.
|
String |
getScope()
Get the OAuth 2.0 Access Token scope
|
boolean |
isUseRefreshToken()
Indicates if this OAuth 2.0 configuration uses refresh tokens
|
String getGrantType()
String getClientId()
String getClientSecret()
String getAuthorizationTokenUrl()
String getAccessTokenUrl()
boolean isUseRefreshToken()
Map<String,String> getAuthorizationParameters()
Map<String,String> getAccessTokenParameters()
String getScope()
JwtAssertionParameters getJwtAssertionParameters()
OAuth2Token getOAuth2Token(boolean forceUpdate) throws IOException
forceUpdate
- boolean. If true, will force update of OAuth 2.0 token.null
if not found.IOException