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,JWTAuthorizationGrantConfig
- Direct Known Subclasses:
FacebookIdentityProviderConfig,GoogleIdentityProviderConfig,MicrosoftIdentityProviderConfig
public class OIDCIdentityProviderConfig
extends OAuth2IdentityProviderConfig
implements JWTAuthorizationGrantConfig
- 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_MODEFields inherited from interface org.keycloak.broker.jwtauthorizationgrant.JWTAuthorizationGrantConfig
JWT_AUTHORIZATION_GRANT_ALLOWED_CLOCK_SKEW, JWT_AUTHORIZATION_GRANT_ASSERTION_REUSE_ALLOWED, JWT_AUTHORIZATION_GRANT_ASSERTION_SIGNATURE_ALG, JWT_AUTHORIZATION_GRANT_ENABLED, JWT_AUTHORIZATION_GRANT_MAX_ALLOWED_ASSERTION_EXPIRATION, PUBLIC_KEY_SIGNATURE_VERIFIER, PUBLIC_KEY_SIGNATURE_VERIFIER_KEY_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetAccessTokenJwt(boolean accessTokenJwt) voidsetBackchannelSupported(boolean backchannel) voidsetDisableNonce(boolean disableNonce) voidsetDisableTypeClaimCheck(boolean disableTypeClaimCheck) voidsetDisableUserInfoService(boolean disable) voidsetLogoutUrl(String url) voidvoidsetSendClientOnLogout(boolean value) voidsetSendIdTokenOnLogout(boolean value) voidsetSupportsClientAssertions(boolean supportsClientAssertions) 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, getPrompt, 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, setTrustEmailMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.broker.jwtauthorizationgrant.JWTAuthorizationGrantConfig
getAlias, getConfig, getInternalId, getIssuer, getJwksUrl, getJWTAuthorizationGrantAllowedClockSkew, getJWTAuthorizationGrantAssertionSignatureAlg, getJWTAuthorizationGrantMaxAllowedAssertionExpiration, getPublicKeySignatureVerifier, getPublicKeySignatureVerifierKeyId, isJWTAuthorizationGrantAssertionReuseAllowed, isJWTAuthorizationGrantEnabled, isUseJwksUrl, setIssuer, setJwksUrl, setJWTAuthorizationGrantEnabled, setPublicKeySignatureVerifier, setPublicKeySignatureVerifierKeyId, setUseJwksUrl
-
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
-
setPrompt
-
getLogoutUrl
-
setLogoutUrl
-
isSendClientIdOnLogout
public boolean isSendClientIdOnLogout() -
setSendClientOnLogout
public void setSendClientOnLogout(boolean value) -
isSendIdTokenOnLogout
public boolean isSendIdTokenOnLogout() -
setSendIdTokenOnLogout
public void setSendIdTokenOnLogout(boolean value) -
isValidateSignature
public boolean isValidateSignature() -
setValidateSignature
public void setValidateSignature(boolean validateSignature) -
setAccessTokenJwt
public void setAccessTokenJwt(boolean accessTokenJwt) -
isAccessTokenJwt
public boolean isAccessTokenJwt() -
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() -
setSupportsClientAssertions
public void setSupportsClientAssertions(boolean supportsClientAssertions) -
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
-