Package org.keycloak.broker.oidc
Class OIDCIdentityProviderConfig
java.lang.Object
org.keycloak.models.IdentityProviderModel
org.keycloak.broker.oidc.OAuth2IdentityProviderConfig
org.keycloak.broker.oidc.OIDCIdentityProviderConfig
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FacebookIdentityProviderConfig
,GoogleIdentityProviderConfig
- Author:
- Pedro Igor
- See Also:
-
Field Summary
Fields inherited from class org.keycloak.broker.oidc.OAuth2IdentityProviderConfig
PKCE_ENABLED, PKCE_METHOD
Fields 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
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
boolean
boolean
boolean
boolean
void
setBackchannelSupported
(boolean backchannel) void
setDisableNonce
(boolean disableNonce) void
setDisableUserInfoService
(boolean disable) void
void
setJwksUrl
(String jwksUrl) void
setLogoutUrl
(String url) void
void
setPublicKeySignatureVerifier
(String signingCertificate) void
setPublicKeySignatureVerifierKeyId
(String publicKeySignatureVerifierKeyId) void
setUseJwksUrl
(boolean useJwksUrl) void
setValidateSignature
(boolean validateSignature) void
validate
(RealmModel realm) Validates this configuration.Methods inherited from class org.keycloak.broker.oidc.OAuth2IdentityProviderConfig
getAuthorizationUrl, getClientAssertionSigningAlg, getClientAuthMethod, getClientId, getClientSecret, getDefaultScope, getForwardParameters, getPkceMethod, getTokenUrl, getUserInfoUrl, isBasicAuthentication, isJWTAuthentication, isPkceEnabled, isUiLocales, setAuthorizationUrl, setClientAssertionSigningAlg, setClientAuthMethod, setClientId, setClientSecret, setDefaultScope, setForwardParameters, setPkceEnabled, setPkceMethod, setTokenUrl, setUiLocales, setUserInfoUrl
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
-
JWKS_URL
- See Also:
-
USE_JWKS_URL
- See Also:
-
VALIDATE_SIGNATURE
- See Also:
-
-
Constructor Details
-
OIDCIdentityProviderConfig
-
OIDCIdentityProviderConfig
public OIDCIdentityProviderConfig()
-
-
Method Details
-
getPrompt
- Overrides:
getPrompt
in classOAuth2IdentityProviderConfig
-
setPrompt
-
getIssuer
-
setIssuer
-
getLogoutUrl
-
setLogoutUrl
-
getPublicKeySignatureVerifier
-
setPublicKeySignatureVerifier
-
getPublicKeySignatureVerifierKeyId
-
setPublicKeySignatureVerifierKeyId
-
isValidateSignature
public boolean isValidateSignature() -
setValidateSignature
public void setValidateSignature(boolean validateSignature) -
isUseJwksUrl
public boolean isUseJwksUrl() -
setUseJwksUrl
public void setUseJwksUrl(boolean useJwksUrl) -
getJwksUrl
-
setJwksUrl
-
isBackchannelSupported
public boolean isBackchannelSupported() -
setBackchannelSupported
public void setBackchannelSupported(boolean backchannel) -
isDisableUserInfoService
public boolean isDisableUserInfoService() -
setDisableUserInfoService
public void setDisableUserInfoService(boolean disable) -
isDisableNonce
public boolean isDisableNonce() -
setDisableNonce
public void setDisableNonce(boolean disableNonce) -
getAllowedClockSkew
public int getAllowedClockSkew() -
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 classOAuth2IdentityProviderConfig
- Parameters:
realm
- the realm
-