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 Summary
Fields Modifier and Type Field Description static String
PKCE_ENABLED
static String
PKCE_METHOD
-
Fields inherited from class org.keycloak.models.IdentityProviderModel
addReadTokenRoleOnCreate, ALLOWED_CLOCK_SKEW, HIDE_ON_LOGIN, linkOnly, LOGIN_HINT, PASS_MAX_AGE, SYNC_MODE
-
-
Constructor Summary
Constructors Constructor Description OAuth2IdentityProviderConfig()
OAuth2IdentityProviderConfig(IdentityProviderModel model)
-
Method Summary
-
Methods inherited from class org.keycloak.models.IdentityProviderModel
getAlias, 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_ENABLED
public static final String PKCE_ENABLED
- See Also:
- Constant Field Values
-
PKCE_METHOD
public static final String PKCE_METHOD
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OAuth2IdentityProviderConfig
public OAuth2IdentityProviderConfig(IdentityProviderModel model)
-
OAuth2IdentityProviderConfig
public OAuth2IdentityProviderConfig()
-
-
Method Detail
-
getAuthorizationUrl
public String getAuthorizationUrl()
-
setAuthorizationUrl
public void setAuthorizationUrl(String authorizationUrl)
-
getTokenUrl
public String getTokenUrl()
-
setTokenUrl
public void setTokenUrl(String tokenUrl)
-
getUserInfoUrl
public String getUserInfoUrl()
-
setUserInfoUrl
public void setUserInfoUrl(String userInfoUrl)
-
getClientId
public String getClientId()
-
setClientId
public void setClientId(String clientId)
-
getClientAuthMethod
public String getClientAuthMethod()
-
setClientAuthMethod
public void setClientAuthMethod(String clientAuth)
-
getClientSecret
public String getClientSecret()
-
setClientSecret
public void setClientSecret(String clientSecret)
-
getDefaultScope
public String getDefaultScope()
-
setDefaultScope
public void setDefaultScope(String defaultScope)
-
isJWTAuthentication
public boolean isJWTAuthentication()
-
isBasicAuthentication
public boolean isBasicAuthentication()
-
isUiLocales
public boolean isUiLocales()
-
setUiLocales
public void setUiLocales(boolean uiLocales)
-
getPrompt
public String getPrompt()
-
getForwardParameters
public String getForwardParameters()
-
setForwardParameters
public void setForwardParameters(String forwardParameters)
-
isPkceEnabled
public boolean isPkceEnabled()
-
setPkceEnabled
public void setPkceEnabled(boolean enabled)
-
getPkceMethod
public String getPkceMethod()
-
getClientAssertionSigningAlg
public String getClientAssertionSigningAlg()
-
setClientAssertionSigningAlg
public void setClientAssertionSigningAlg(String signingAlg)
-
validate
public void validate(RealmModel realm)
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
-
-