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
 
 public class OAuth2IdentityProviderConfig extends IdentityProviderModel - Author:
- Pedro Igor
- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringPKCE_ENABLEDstatic StringPKCE_METHOD- 
Fields inherited from class org.keycloak.models.IdentityProviderModeladdReadTokenRoleOnCreate, ALLOWED_CLOCK_SKEW, HIDE_ON_LOGIN, linkOnly, LOGIN_HINT, PASS_MAX_AGE, SYNC_MODE
 
- 
 - 
Constructor SummaryConstructors Constructor Description OAuth2IdentityProviderConfig()OAuth2IdentityProviderConfig(IdentityProviderModel model)
 - 
Method Summary- 
Methods inherited from class org.keycloak.models.IdentityProviderModelgetAlias, getConfig, getDisplayIconClasses, getDisplayName, getFirstBrokerLoginFlowId, getInternalId, getPostBrokerLoginFlowId, getProviderId, getSyncMode, isAddReadTokenRoleOnCreate, isAuthenticateByDefault, isEnabled, isHideOnLogin, isLinkOnly, isLoginHint, isPassMaxAge, isStoreToken, isTrustEmail, setAddReadTokenRoleOnCreate, setAlias, setAuthenticateByDefault, setConfig, setDisplayName, setEnabled, setFirstBrokerLoginFlowId, setHideOnLogin, setInternalId, setLinkOnly, setLoginHint, setPassMaxAge, setPostBrokerLoginFlowId, setProviderId, setStoreToken, setSyncMode, setTrustEmail
 
- 
 
- 
- 
- 
Field Detail- 
PKCE_ENABLEDpublic static final String PKCE_ENABLED - See Also:
- Constant Field Values
 
 - 
PKCE_METHODpublic static final String PKCE_METHOD - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
OAuth2IdentityProviderConfigpublic OAuth2IdentityProviderConfig(IdentityProviderModel model) 
 - 
OAuth2IdentityProviderConfigpublic OAuth2IdentityProviderConfig() 
 
- 
 - 
Method Detail- 
getAuthorizationUrlpublic String getAuthorizationUrl() 
 - 
setAuthorizationUrlpublic void setAuthorizationUrl(String authorizationUrl) 
 - 
getTokenUrlpublic String getTokenUrl() 
 - 
setTokenUrlpublic void setTokenUrl(String tokenUrl) 
 - 
getUserInfoUrlpublic String getUserInfoUrl() 
 - 
setUserInfoUrlpublic void setUserInfoUrl(String userInfoUrl) 
 - 
getClientIdpublic String getClientId() 
 - 
setClientIdpublic void setClientId(String clientId) 
 - 
getClientAuthMethodpublic String getClientAuthMethod() 
 - 
setClientAuthMethodpublic void setClientAuthMethod(String clientAuth) 
 - 
getClientSecretpublic String getClientSecret() 
 - 
setClientSecretpublic void setClientSecret(String clientSecret) 
 - 
getDefaultScopepublic String getDefaultScope() 
 - 
setDefaultScopepublic void setDefaultScope(String defaultScope) 
 - 
isJWTAuthenticationpublic boolean isJWTAuthentication() 
 - 
isBasicAuthenticationpublic boolean isBasicAuthentication() 
 - 
isUiLocalespublic boolean isUiLocales() 
 - 
setUiLocalespublic void setUiLocales(boolean uiLocales) 
 - 
getPromptpublic String getPrompt() 
 - 
getForwardParameterspublic String getForwardParameters() 
 - 
setForwardParameterspublic void setForwardParameters(String forwardParameters) 
 - 
isPkceEnabledpublic boolean isPkceEnabled() 
 - 
setPkceEnabledpublic void setPkceEnabled(boolean enabled) 
 - 
getPkceMethodpublic String getPkceMethod() 
 - 
getClientAssertionSigningAlgpublic String getClientAssertionSigningAlg() 
 - 
setClientAssertionSigningAlgpublic void setClientAssertionSigningAlg(String signingAlg) 
 - 
validatepublic void validate(RealmModel realm) Description copied from class:IdentityProviderModelValidates this configuration. Sub-classes can override this method in order to enforce provider specific validations. - Overrides:
- validatein class- IdentityProviderModel
- Parameters:
- realm- the realm
 
 
- 
 
-