Package org.keycloak.broker.oid4vp
Class OID4VPIdentityProviderConfig
java.lang.Object
org.keycloak.models.IdentityProviderModel
org.keycloak.broker.oid4vp.OID4VPIdentityProviderConfig
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.keycloak.models.IdentityProviderModel
addReadTokenRoleOnCreate, ALIAS, ALIAS_NOT_IN, ALLOW_ADMIN_ROLE_MAPPING, 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, FEDERATED_CLIENT_ASSERTION_MAX_EXPIRATION, 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, STORE_TOKEN_IN_SESSION, SYNC_MODE -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetResponseMode(ResponseMode responseMode) voidsetSigningKeyId(String signingKeyId) voidsetWalletScheme(String walletScheme) voidvalidate(RealmModel realm) Validates this configuration.protected voidvalidateRequestedCredentials(RequestedCredentials requested) Requires the principal credential in every presentation that satisfies the query.Methods inherited from class org.keycloak.models.IdentityProviderModel
canReuseMaskedClientSecret, equals, getAlias, getClaimFilterName, getClaimFilterValue, getConfig, getDisplayIconClasses, getDisplayName, getFederatedClientAssertionMaxExpiration, getFirstBrokerLoginFlowId, getInternalId, getMetadataDescriptorUrl, getMinValidityToken, getOrganizationId, getOrganizationIds, getPostBrokerLoginFlowId, getProviderId, getShowInAccountConsole, getSyncMode, hashCode, hasOrganization, isAddReadTokenRoleOnCreate, isAllowAdminRoleMapping, isAuthenticateByDefault, isCaseSensitiveOriginalUsername, isEnabled, isFilteredByClaims, isHideOnLogin, isLinkedToOrganization, isLinkOnly, isLoginHint, isPassMaxAge, isStoreToken, isStoreTokenInSession, isTransientUsers, isTrustEmail, setAddReadTokenRoleOnCreate, setAlias, setAllowAdminRoleMapping, setAuthenticateByDefault, setCaseSensitiveOriginalUsername, setClaimFilterName, setClaimFilterValue, setConfig, setDisplayName, setEnabled, setFederatedClientAssertionMaxExpiration, setFilteredByClaims, setFirstBrokerLoginFlowId, setHideOnLogin, setInternalId, setLinkOnly, setLoginHint, setMetadataDescriptorUrl, setMinValidityToken, setOrganizationId, setOrganizationIds, setPassMaxAge, setPostBrokerLoginFlowId, setProviderId, setStoreToken, setStoreTokenInSession, setSyncMode, setTransientUsers, setTrustEmail
-
Field Details
-
REQUESTED_CREDENTIALS
- See Also:
-
WALLET_SCHEME
- See Also:
-
SIGNING_KEY_ID
- See Also:
-
RESPONSE_MODE
- See Also:
-
DEFAULT_WALLET_SCHEME
- See Also:
-
-
Constructor Details
-
OID4VPIdentityProviderConfig
public OID4VPIdentityProviderConfig() -
OID4VPIdentityProviderConfig
-
-
Method Details
-
getRequestedCredentials
- Throws:
IllegalArgumentException- if the requested credentials are missing or invalid
-
getSigningKeyId
-
setSigningKeyId
-
getResponseMode
-
setResponseMode
-
isEncryptedResponse
public boolean isEncryptedResponse() -
validate
Description copied from class:IdentityProviderModelValidates this configuration.
Sub-classes can override this method in order to enforce provider specific validations.
- Overrides:
validatein classIdentityProviderModel- Parameters:
realm- the realm
-
validateRequestedCredentials
Requires the principal credential in every presentation that satisfies the query. An extension that establishes the principal during the login when its credential is absent can relax this. -
getWalletScheme
-
setWalletScheme
-