Package org.keycloak.broker.oidc
Class OAuth2IdentityProviderConfig
java.lang.Object
org.keycloak.models.IdentityProviderModel
org.keycloak.broker.oidc.OAuth2IdentityProviderConfig
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OIDCIdentityProviderConfig,OpenshiftV4IdentityProviderConfig,PayPalIdentityProviderConfig,StackOverflowIdentityProviderConfig
- Author:
- Pedro Igor
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.keycloak.models.IdentityProviderModel
addReadTokenRoleOnCreate, ALIAS, ALIAS_NOT_IN, ALLOWED_CLOCK_SKEW, AUTHENTICATE_BY_DEFAULT, CASE_SENSITIVE_ORIGINAL_USERNAME, CLAIM_FILTER_NAME, CLAIM_FILTER_VALUE, DEFAULT_MIN_VALIDITY_TOKEN, DISPLAY_NAME, DO_NOT_STORE_USERS, ENABLED, FILTERED_BY_CLAIMS, FIRST_BROKER_LOGIN_FLOW_ID, HIDE_ON_LOGIN, ISSUER, LEGACY_HIDE_ON_LOGIN_ATTR, LINK_ONLY, linkOnly, LOGIN_HINT, METADATA_DESCRIPTOR_URL, MIN_VALIDITY_TOKEN, ORGANIZATION_ID, ORGANIZATION_ID_NOT_NULL, PASS_MAX_AGE, POST_BROKER_LOGIN_FLOW_ID, SEARCH, SHOW_IN_ACCOUNT_CONSOLE, SYNC_MODE -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetAuthorizationUrl(String authorizationUrl) voidsetClientAssertionAudience(String audience) voidsetClientAssertionSigningAlg(String signingAlg) voidsetClientAuthMethod(String clientAuth) voidsetClientId(String clientId) voidsetClientSecret(String clientSecret) voidsetDefaultScope(String defaultScope) voidsetForwardParameters(String forwardParameters) voidsetJwtX509HeadersEnabled(boolean enabled) voidsetPkceEnabled(boolean enabled) setPkceMethod(String method) voidsetRequiresShortStateParameter(boolean requiresShortStateParameter) voidsetTokenIntrospectionUrl(String introspectionEndpointUrl) voidsetTokenUrl(String tokenUrl) voidsetUiLocales(boolean uiLocales) voidsetUserInfoUrl(String userInfoUrl) voidvalidate(RealmModel realm) Validates this configuration.Methods inherited from class org.keycloak.models.IdentityProviderModel
equals, getAlias, getClaimFilterName, getClaimFilterValue, getConfig, getDisplayIconClasses, getDisplayName, getFirstBrokerLoginFlowId, getInternalId, getMetadataDescriptorUrl, getMinValidityToken, getOrganizationId, getPostBrokerLoginFlowId, getProviderId, getShowInAccountConsole, getSyncMode, hashCode, isAddReadTokenRoleOnCreate, isAuthenticateByDefault, isCaseSensitiveOriginalUsername, isEnabled, isFilteredByClaims, isHideOnLogin, isLinkOnly, isLoginHint, isPassMaxAge, isStoreToken, isTransientUsers, isTrustEmail, setAddReadTokenRoleOnCreate, setAlias, setAuthenticateByDefault, setCaseSensitiveOriginalUsername, setClaimFilterName, setClaimFilterValue, setConfig, setDisplayName, setEnabled, setFilteredByClaims, setFirstBrokerLoginFlowId, setHideOnLogin, setInternalId, setLinkOnly, setLoginHint, setMetadataDescriptorUrl, setMinValidityToken, setOrganizationId, setPassMaxAge, setPostBrokerLoginFlowId, setProviderId, setStoreToken, setSyncMode, setTransientUsers, setTrustEmail
-
Field Details
-
PKCE_ENABLED
- See Also:
-
PKCE_METHOD
- See Also:
-
TOKEN_ENDPOINT_URL
- See Also:
-
TOKEN_INTROSPECTION_URL
- See Also:
-
JWT_X509_HEADERS_ENABLED
- See Also:
-
REQUIRES_SHORT_STATE_PARAMETER
- See Also:
-
-
Constructor Details
-
OAuth2IdentityProviderConfig
-
OAuth2IdentityProviderConfig
public OAuth2IdentityProviderConfig()
-
-
Method Details
-
getAuthorizationUrl
-
setAuthorizationUrl
-
getTokenUrl
-
setTokenUrl
-
getUserInfoUrl
-
setUserInfoUrl
-
getTokenIntrospectionUrl
-
setTokenIntrospectionUrl
-
getClientId
-
setClientId
-
getClientAuthMethod
-
setClientAuthMethod
-
getClientSecret
-
setClientSecret
-
getDefaultScope
-
setDefaultScope
-
isJWTAuthentication
public boolean isJWTAuthentication() -
isBasicAuthentication
public boolean isBasicAuthentication() -
isBasicAuthenticationUnencoded
public boolean isBasicAuthenticationUnencoded() -
isUiLocales
public boolean isUiLocales() -
setUiLocales
public void setUiLocales(boolean uiLocales) -
getPrompt
-
isRequiresShortStateParameter
public boolean isRequiresShortStateParameter() -
setRequiresShortStateParameter
public void setRequiresShortStateParameter(boolean requiresShortStateParameter) -
getForwardParameters
-
setForwardParameters
-
isPkceEnabled
public boolean isPkceEnabled() -
setPkceEnabled
public void setPkceEnabled(boolean enabled) -
getPkceMethod
-
setPkceMethod
-
getClientAssertionSigningAlg
-
setClientAssertionSigningAlg
-
getClientAssertionAudience
-
setClientAssertionAudience
-
isJwtX509HeadersEnabled
public boolean isJwtX509HeadersEnabled() -
setJwtX509HeadersEnabled
public void setJwtX509HeadersEnabled(boolean enabled) -
getUserIDClaim
-
getUserNameClaim
-
getFullNameClaim
-
getGivenNameClaim
-
getFamilyNameClaim
-
getEmailClaim
-
validate
Description copied from class:IdentityProviderModelValidates this configuration.
Sub-classes can override this method in order to enforce provider specific validations.
- Overrides:
validatein classIdentityProviderModel- Parameters:
realm- the realm
-