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
,OpenshiftV3IdentityProviderConfig
,OpenshiftV4IdentityProviderConfig
,PayPalIdentityProviderConfig
,StackOverflowIdentityProviderConfig
- Author:
- Pedro Igor
- See Also:
-
Field Summary
Fields 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, DISPLAY_NAME, DO_NOT_STORE_USERS, ENABLED, FILTERED_BY_CLAIMS, FIRST_BROKER_LOGIN_FLOW_ID, HIDE_ON_LOGIN, LEGACY_HIDE_ON_LOGIN_ATTR, LINK_ONLY, linkOnly, LOGIN_HINT, METADATA_DESCRIPTOR_URL, ORGANIZATION_ID, ORGANIZATION_ID_NOT_NULL, PASS_MAX_AGE, POST_BROKER_LOGIN_FLOW_ID, SEARCH, SYNC_MODE
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
void
setAuthorizationUrl
(String authorizationUrl) void
setClientAssertionAudience
(String audience) void
setClientAssertionSigningAlg
(String signingAlg) void
setClientAuthMethod
(String clientAuth) void
setClientId
(String clientId) void
setClientSecret
(String clientSecret) void
setDefaultScope
(String defaultScope) void
setForwardParameters
(String forwardParameters) void
setJwtX509HeadersEnabled
(boolean enabled) void
setPkceEnabled
(boolean enabled) setPkceMethod
(String method) void
setTokenUrl
(String tokenUrl) void
setUiLocales
(boolean uiLocales) void
setUserInfoUrl
(String userInfoUrl) void
validate
(RealmModel realm) Validates this configuration.Methods inherited from class org.keycloak.models.IdentityProviderModel
equals, getAlias, getClaimFilterName, getClaimFilterValue, getConfig, getDisplayIconClasses, getDisplayName, getFirstBrokerLoginFlowId, getInternalId, getMetadataDescriptorUrl, getOrganizationId, getPostBrokerLoginFlowId, getProviderId, 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, setOrganizationId, setPassMaxAge, setPostBrokerLoginFlowId, setProviderId, setStoreToken, setSyncMode, setTransientUsers, setTrustEmail
-
Field Details
-
PKCE_ENABLED
- See Also:
-
PKCE_METHOD
- See Also:
-
JWT_X509_HEADERS_ENABLED
- See Also:
-
-
Constructor Details
-
OAuth2IdentityProviderConfig
-
OAuth2IdentityProviderConfig
public OAuth2IdentityProviderConfig()
-
-
Method Details
-
getAuthorizationUrl
-
setAuthorizationUrl
-
getTokenUrl
-
setTokenUrl
-
getUserInfoUrl
-
setUserInfoUrl
-
getClientId
-
setClientId
-
getClientAuthMethod
-
setClientAuthMethod
-
getClientSecret
-
setClientSecret
-
getDefaultScope
-
setDefaultScope
-
isJWTAuthentication
public boolean isJWTAuthentication() -
isBasicAuthentication
public boolean isBasicAuthentication() -
isUiLocales
public boolean isUiLocales() -
setUiLocales
public void setUiLocales(boolean uiLocales) -
getPrompt
-
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) -
validate
Description copied from class:IdentityProviderModel
Validates this configuration.
Sub-classes can override this method in order to enforce provider specific validations.
- Overrides:
validate
in classIdentityProviderModel
- Parameters:
realm
- the realm
-