@Generated(value="org.immutables.processor.ProxyProcessor") public final class OAuth2Configuration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OAuth2Configuration.Builder
Builds instances of type
OAuth2Configuration. |
| Modifier and Type | Method and Description |
|---|---|
static OAuth2Configuration.Builder |
builder()
Creates a builder for
OAuth2Configuration. |
boolean |
equals(Object another)
This instance is equal to all instances of
OAuth2Configuration that have equal attribute values. |
Boolean |
getAddShadowUserOnLogin()
Determines whether or not shadow users must be created before login by an administrator.
|
AttributeMappings |
getAttributeMappings() |
String |
getAuthMethod()
explicit method to authenticate against the identity provider.
|
String |
getAuthUrl()
The OAuth 2.0 authorization endpoint URL
|
Boolean |
getCacheJwks()
A flag controlling whether PKCE (RFC 7636) is active in authorization code flow when requesting tokens from the external provider.
|
String |
getCheckTokenUrl()
The OAuth check token endpoint URL.
|
Boolean |
getClientAuthInBody()
Send the client credentials in the token retrieval call as body parameters instead of a Basic Authorization header.
|
List<String> |
getEmailDomains()
List of email domains associated with the provider for the purpose of associating users to the correct origin upon invitation.
|
List<String> |
getExternalGroupsWhitelist()
The external group white list
|
String |
getIssuer()
The OAuth 2.0 token issuer.
|
String |
getLinkText()
Text to use for the login link to the provider
|
String |
getLogoutUrl()
OAuth 2.0 logout endpoint.
|
Boolean |
getPerformRpInitiatedLogout()
A flag controlling whether to log out of the external provider after a successful UAA logout
|
Boolean |
getPkce()
Option to enable caching for the JWKS (verification key for validating token signatures)
|
String |
getProviderDescription()
Human readable name/description of this provider
|
String |
getRelyingPartyId()
The client ID which is registered with the external OAuth provider for use by the UAA
|
String |
getRelyingPartySecret()
The client secret of the relying party at the external OAuth provider
|
String |
getResponseType()
The OAuth 2.0 response type.
|
List<String> |
getScopes()
What scopes to request on a call to the external OAuth/OpenID provider.
|
Boolean |
getShowLinkText()
A flag controlling whether a link to this provider’s login will be shown on the UAA login page
|
Boolean |
getSkipSslVerification()
Skips validation of the LDAP cert if set to true.
|
Boolean |
getStoreCustomAttributes()
Set to true, to store custom user attributes to be fetched from the /userinfo endpoint
|
String |
getTokenKey()
A verification key for validating token signatures
|
String |
getTokenKeyUrl()
The URL of the token key endpoint which renders a verification key for validating token signatures
|
String |
getTokenUrl()
The OAuth 2.0 authorization endpoint URL
|
String |
getUserInfoUrl()
A URL for fetching user info attributes when queried with the obtained token authorization.
|
String |
getUserPropagationParameter()
Name of the request parameter that is used to pass a known username when redirecting to this identity provider from the account chooser
|
int |
hashCode()
Computes a hash code from attributes:
emailDomains, providerDescription, authMethod, attributeMappings, externalGroupsWhitelist, storeCustomAttributes, addShadowUserOnLogin, authUrl, linkText, relyingPartyId, relyingPartySecret, scopes, showLinkText, skipSslVerification, tokenKey, tokenKeyUrl, tokenUrl, checkTokenUrl, clientAuthInBody, issuer, responseType, userInfoUrl, userPropagationParameter, cacheJwks, pkce, logoutUrl, performRpInitiatedLogout. |
String |
toString()
Prints the immutable value
OAuth2Configuration with attribute values. |
public List<String> getEmailDomains()
public String getProviderDescription()
public String getAuthMethod()
public AttributeMappings getAttributeMappings()
attributeMappings attributepublic List<String> getExternalGroupsWhitelist()
public Boolean getStoreCustomAttributes()
public Boolean getAddShadowUserOnLogin()
public String getAuthUrl()
public String getLinkText()
public String getRelyingPartyId()
public String getRelyingPartySecret()
public List<String> getScopes()
public Boolean getShowLinkText()
public Boolean getSkipSslVerification()
public String getTokenKey()
public String getTokenKeyUrl()
public String getTokenUrl()
public String getCheckTokenUrl()
public Boolean getClientAuthInBody()
public String getIssuer()
public String getResponseType()
public String getUserInfoUrl()
public String getUserPropagationParameter()
public Boolean getCacheJwks()
public Boolean getPkce()
public String getLogoutUrl()
public Boolean getPerformRpInitiatedLogout()
public boolean equals(Object another)
OAuth2Configuration that have equal attribute values.public int hashCode()
emailDomains, providerDescription, authMethod, attributeMappings, externalGroupsWhitelist, storeCustomAttributes, addShadowUserOnLogin, authUrl, linkText, relyingPartyId, relyingPartySecret, scopes, showLinkText, skipSslVerification, tokenKey, tokenKeyUrl, tokenUrl, checkTokenUrl, clientAuthInBody, issuer, responseType, userInfoUrl, userPropagationParameter, cacheJwks, pkce, logoutUrl, performRpInitiatedLogout.public String toString()
OAuth2Configuration with attribute values.public static OAuth2Configuration.Builder builder()
OAuth2Configuration.
OAuth2Configuration.builder()
.emailDomains(List<String> | null) // nullable emailDomains
.providerDescription(String | null) // nullable providerDescription
.authMethod(String | null) // nullable authMethod
.attributeMappings(org.cloudfoundry.uaa.identityproviders.AttributeMappings | null) // nullable attributeMappings
.externalGroupsWhitelist(List<String> | null) // nullable externalGroupsWhitelist
.storeCustomAttributes(Boolean | null) // nullable storeCustomAttributes
.addShadowUserOnLogin(Boolean | null) // nullable addShadowUserOnLogin
.authUrl(String) // required authUrl
.linkText(String | null) // nullable linkText
.relyingPartyId(String) // required relyingPartyId
.relyingPartySecret(String | null) // nullable relyingPartySecret
.scopes(List<String> | null) // nullable scopes
.showLinkText(Boolean | null) // nullable showLinkText
.skipSslVerification(Boolean | null) // nullable skipSslVerification
.tokenKey(String | null) // nullable tokenKey
.tokenKeyUrl(String | null) // nullable tokenKeyUrl
.tokenUrl(String) // required tokenUrl
.checkTokenUrl(String | null) // nullable checkTokenUrl
.clientAuthInBody(Boolean | null) // nullable clientAuthInBody
.issuer(String | null) // nullable issuer
.responseType(String | null) // nullable responseType
.userInfoUrl(String | null) // nullable userInfoUrl
.userPropagationParameter(String | null) // nullable userPropagationParameter
.cacheJwks(Boolean | null) // nullable cacheJwks
.pkce(Boolean | null) // nullable pkce
.logoutUrl(String | null) // nullable logoutUrl
.performRpInitiatedLogout(Boolean | null) // nullable performRpInitiatedLogout
.build();
Copyright © 2026. All rights reserved.