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,KubernetesIdentityProviderConfig,MicrosoftIdentityProviderConfig
- Author:
- Pedro Igor
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.keycloak.broker.oidc.OAuth2IdentityProviderConfig
JWT_X509_HEADERS_ENABLED, PKCE_ENABLED, PKCE_METHOD, REQUIRES_SHORT_STATE_PARAMETER, TOKEN_ENDPOINT_URL, TOKEN_INTROSPECTION_URLFields 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, DEFAULT_MIN_VALIDITY_TOKEN, DISPLAY_NAME, DO_NOT_STORE_USERS, ENABLED, FILTERED_BY_CLAIMS, FIRST_BROKER_LOGIN_FLOW_ID, HIDE_ON_LOGIN, ISSUER, LEGACY_HIDE_ON_LOGIN_ATTR, LINK_ONLY, linkOnly, LOGIN_HINT, METADATA_DESCRIPTOR_URL, MIN_VALIDITY_TOKEN, ORGANIZATION_ID, ORGANIZATION_ID_NOT_NULL, PASS_MAX_AGE, POST_BROKER_LOGIN_FLOW_ID, SEARCH, SHOW_IN_ACCOUNT_CONSOLE, SYNC_MODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetAccessTokenJwt(boolean accessTokenJwt) voidsetBackchannelSupported(boolean backchannel) voidsetDisableNonce(boolean disableNonce) voidsetDisableTypeClaimCheck(boolean disableTypeClaimCheck) voidsetDisableUserInfoService(boolean disable) voidvoidsetJwksUrl(String jwksUrl) voidsetLogoutUrl(String url) voidvoidsetPublicKeySignatureVerifier(String signingCertificate) voidsetPublicKeySignatureVerifierKeyId(String publicKeySignatureVerifierKeyId) voidsetSendClientOnLogout(boolean value) voidsetSendIdTokenOnLogout(boolean value) voidsetUseJwksUrl(boolean useJwksUrl) voidsetValidateSignature(boolean validateSignature) voidvalidate(RealmModel realm) Validates this configuration.Methods inherited from class org.keycloak.broker.oidc.OAuth2IdentityProviderConfig
getAuthorizationUrl, getClientAssertionAudience, getClientAssertionSigningAlg, getClientAuthMethod, getClientId, getClientSecret, getDefaultScope, getEmailClaim, getFamilyNameClaim, getForwardParameters, getFullNameClaim, getGivenNameClaim, getPkceMethod, getTokenIntrospectionUrl, getTokenUrl, getUserIDClaim, getUserInfoUrl, getUserNameClaim, isBasicAuthentication, isBasicAuthenticationUnencoded, isJWTAuthentication, isJwtX509HeadersEnabled, isPkceEnabled, isRequiresShortStateParameter, isUiLocales, setAuthorizationUrl, setClientAssertionAudience, setClientAssertionSigningAlg, setClientAuthMethod, setClientId, setClientSecret, setDefaultScope, setForwardParameters, setJwtX509HeadersEnabled, setPkceEnabled, setPkceMethod, setRequiresShortStateParameter, setTokenIntrospectionUrl, setTokenUrl, setUiLocales, setUserInfoUrlMethods inherited from class org.keycloak.models.IdentityProviderModel
equals, getAlias, getClaimFilterName, getClaimFilterValue, getConfig, getDisplayIconClasses, getDisplayName, getFirstBrokerLoginFlowId, getInternalId, getMetadataDescriptorUrl, getMinValidityToken, getOrganizationId, getPostBrokerLoginFlowId, getProviderId, getShowInAccountConsole, 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, setMinValidityToken, setOrganizationId, setPassMaxAge, setPostBrokerLoginFlowId, setProviderId, setStoreToken, setSyncMode, setTransientUsers, setTrustEmail
-
Field Details
-
JWKS_URL
- See Also:
-
USE_JWKS_URL
- See Also:
-
VALIDATE_SIGNATURE
- See Also:
-
IS_ACCESS_TOKEN_JWT
- See Also:
-
SUPPORTS_CLIENT_ASSERTIONS
- See Also:
-
SUPPORTS_CLIENT_ASSERTION_REUSE
- See Also:
-
-
Constructor Details
-
OIDCIdentityProviderConfig
-
OIDCIdentityProviderConfig
public OIDCIdentityProviderConfig()
-
-
Method Details
-
getPrompt
- Overrides:
getPromptin classOAuth2IdentityProviderConfig
-
setPrompt
-
getIssuer
-
setIssuer
-
getLogoutUrl
-
setLogoutUrl
-
isSendClientIdOnLogout
public boolean isSendClientIdOnLogout() -
setSendClientOnLogout
public void setSendClientOnLogout(boolean value) -
isSendIdTokenOnLogout
public boolean isSendIdTokenOnLogout() -
setSendIdTokenOnLogout
public void setSendIdTokenOnLogout(boolean value) -
getPublicKeySignatureVerifier
-
setPublicKeySignatureVerifier
-
getPublicKeySignatureVerifierKeyId
-
setPublicKeySignatureVerifierKeyId
-
isValidateSignature
public boolean isValidateSignature() -
setValidateSignature
public void setValidateSignature(boolean validateSignature) -
setAccessTokenJwt
public void setAccessTokenJwt(boolean accessTokenJwt) -
isAccessTokenJwt
public boolean isAccessTokenJwt() -
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() -
isDisableTypeClaimCheck
public boolean isDisableTypeClaimCheck() -
setDisableTypeClaimCheck
public void setDisableTypeClaimCheck(boolean disableTypeClaimCheck) -
isSupportsClientAssertions
public boolean isSupportsClientAssertions() -
isSupportsClientAssertionReuse
public boolean isSupportsClientAssertionReuse() -
validate
Description copied from class:IdentityProviderModelValidates this configuration.
Sub-classes can override this method in order to enforce provider specific validations.
- Overrides:
validatein classOAuth2IdentityProviderConfig- Parameters:
realm- the realm
-