public class OAuth2Config extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OAuth2Config.OAuth2ConfigBuilder |
| Modifier and Type | Method and Description |
|---|---|
String |
generateCSRFToken()
Generates CSRF token
|
String |
getClientId() |
String |
getClientSecret() |
String |
getIntuitAuthorizationEndpoint() |
String |
getIntuitBearerTokenEndpoint() |
String |
getIntuitIdTokenIssuer() |
String |
getIntuitJwksURI() |
String |
getIntuitRevokeTokenEndpoint() |
ProxyConfig |
getProxyConfig() |
String |
getScopeValue(Scope scope)
Returns the scope value based on the Enum supplied
|
String |
getUserProfileEndpoint() |
String |
prepareUrl(List<Scope> scopes,
String redirectUri)
Prepares URL to call the OAuth2 authorization endpoint using Scope and redirectURL that is supplied.
|
String |
prepareUrl(List<Scope> scopes,
String redirectUri,
String csrfToken)
Prepares URL to call the OAuth2 authorization endpoint using Scope, CSRF and redirectURL that is supplied
|
public String getIntuitIdTokenIssuer()
public String getIntuitAuthorizationEndpoint()
public String getIntuitBearerTokenEndpoint()
public String getIntuitRevokeTokenEndpoint()
public String getIntuitJwksURI()
public String getUserProfileEndpoint()
public String getClientId()
public String getClientSecret()
public ProxyConfig getProxyConfig()
public String getScopeValue(Scope scope)
scope - public String generateCSRFToken()
public String prepareUrl(List<Scope> scopes, String redirectUri, String csrfToken) throws InvalidRequestException
scope - redirectUri - csrfToken - InvalidRequestExceptionpublic String prepareUrl(List<Scope> scopes, String redirectUri) throws InvalidRequestException
scope - redirectUri - InvalidRequestExceptionCopyright © 2019. All Rights Reserved.