@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 |
getAuthUrl()
The OAuth 2.0 authorization endpoint URL
|
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.
|
Boolean |
getLinkText()
Text to use for the login link to the provider
|
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
|
int |
hashCode()
Computes a hash code from attributes:
emailDomains, providerDescription, attributeMappings, externalGroupsWhitelist, storeCustomAttributes, addShadowUserOnLogin, authUrl, linkText, relyingPartyId, relyingPartySecret, scopes, showLinkText, skipSslVerification, tokenKey, tokenKeyUrl, tokenUrl, checkTokenUrl, clientAuthInBody, issuer, responseType. |
String |
toString()
Prints the immutable value
OAuth2Configuration with attribute values. |
public List<String> getEmailDomains()
public String getProviderDescription()
public AttributeMappings getAttributeMappings()
attributeMappings attributepublic List<String> getExternalGroupsWhitelist()
public Boolean getStoreCustomAttributes()
public Boolean getAddShadowUserOnLogin()
public String getAuthUrl()
public Boolean 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 boolean equals(Object another)
OAuth2Configuration that have equal attribute values.public int hashCode()
emailDomains, providerDescription, attributeMappings, externalGroupsWhitelist, storeCustomAttributes, addShadowUserOnLogin, authUrl, linkText, relyingPartyId, relyingPartySecret, scopes, showLinkText, skipSslVerification, tokenKey, tokenKeyUrl, tokenUrl, checkTokenUrl, clientAuthInBody, issuer, responseType.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
.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(Boolean | 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
.build();
Copyright © 2020. All rights reserved.