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
FieldsFields inherited from class org.keycloak.models.IdentityProviderModel
addReadTokenRoleOnCreate, ALLOWED_CLOCK_SKEW, CLAIM_FILTER_NAME, CLAIM_FILTER_VALUE, FILTERED_BY_CLAIMS, HIDE_ON_LOGIN, linkOnly, LOGIN_HINT, PASS_MAX_AGE, SYNC_MODE -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanvoidsetAuthorizationUrl(String authorizationUrl) voidsetClientAssertionSigningAlg(String signingAlg) voidsetClientAuthMethod(String clientAuth) voidsetClientId(String clientId) voidsetClientSecret(String clientSecret) voidsetDefaultScope(String defaultScope) voidsetForwardParameters(String forwardParameters) voidsetPkceEnabled(boolean enabled) setPkceMethod(String method) voidsetTokenUrl(String tokenUrl) voidsetUiLocales(boolean uiLocales) voidsetUserInfoUrl(String userInfoUrl) voidvalidate(RealmModel realm) Validates this configuration.Methods inherited from class org.keycloak.models.IdentityProviderModel
getAlias, getClaimFilterName, getClaimFilterValue, getConfig, getDisplayIconClasses, getDisplayName, getFirstBrokerLoginFlowId, getInternalId, getPostBrokerLoginFlowId, getProviderId, getSyncMode, isAddReadTokenRoleOnCreate, isAuthenticateByDefault, isEnabled, isFilteredByClaims, isHideOnLogin, isLinkOnly, isLoginHint, isPassMaxAge, isStoreToken, isTrustEmail, setAddReadTokenRoleOnCreate, setAlias, setAuthenticateByDefault, setClaimFilterName, setClaimFilterValue, setConfig, setDisplayName, setEnabled, setFilteredByClaims, setFirstBrokerLoginFlowId, setHideOnLogin, setInternalId, setLinkOnly, setLoginHint, setPassMaxAge, setPostBrokerLoginFlowId, setProviderId, setStoreToken, setSyncMode, setTrustEmail
-
Field Details
-
PKCE_ENABLED
- See Also:
-
PKCE_METHOD
- 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
-
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
-