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
|
String |
prepareUrlWithCustomScopes(List<String> scopes,
String redirectUri)
Prepares URL to call the OAuth2 authorization endpoint using Scope and redirectURL that is supplied.
|
String |
prepareUrlWithCustomScopes(List<String> scopes,
String redirectUri,
String csrfToken)
Prepares URL to call the OAuth2 authorization endpoint using Scopes, redirectURL & csrfToken that is supplied.
|
void |
setIntuitAuthorizationEndpoint(String intuitAuthorizationEndpoint) |
void |
setIntuitBearerTokenEndpoint(String intuitBearerTokenEndpoint) |
void |
setIntuitIdTokenIssuer(String intuitIdTokenIssuer) |
void |
setIntuitJwksURI(String intuitJwksURI) |
void |
setIntuitRevokeTokenEndpoint(String intuitRevokeTokenEndpoint) |
void |
setUserProfileEndpoint(String userProfileEndpoint) |
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 void setIntuitAuthorizationEndpoint(String intuitAuthorizationEndpoint)
public void setIntuitBearerTokenEndpoint(String intuitBearerTokenEndpoint)
public void setIntuitRevokeTokenEndpoint(String intuitRevokeTokenEndpoint)
public void setUserProfileEndpoint(String userProfileEndpoint)
public void setIntuitIdTokenIssuer(String intuitIdTokenIssuer)
public void setIntuitJwksURI(String intuitJwksURI)
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
scopes - redirectUri - InvalidRequestExceptionpublic String prepareUrlWithCustomScopes(List<String> scopes, String redirectUri) throws InvalidRequestException
scopes - redirectUri - InvalidRequestExceptionpublic String prepareUrlWithCustomScopes(List<String> scopes, String redirectUri, String csrfToken) throws InvalidRequestException
scopes - redirectUri - InvalidRequestExceptionCopyright © 2025. All Rights Reserved.