Class PreAuthCodeCtx
java.lang.Object
org.keycloak.protocol.oid4vc.model.PreAuthCodeCtx
- All Implemented Interfaces:
Cloneable
Non-sensitive fields a pre-authorized code representation may embed.
Mainly intended to be used as a partial, public view of
CredentialOfferState.-
Constructor Summary
ConstructorsConstructorDescriptionPreAuthCodeCtx(CredentialOfferState offerState) This construction makes it explicit what data can be made public. -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetNonce()inthashCode()voidsetAuthorizationDetails(List<OID4VCAuthorizationDetail> authorizationDetails) voidsetCredentialsOfferId(String credentialsOfferId) voidsetExpiresAt(Long expiresAt) voidvoidsetTargetClientId(String targetClientId) voidsetTargetUserId(String targetUserId)
-
Constructor Details
-
PreAuthCodeCtx
public PreAuthCodeCtx() -
PreAuthCodeCtx
This construction makes it explicit what data can be made public. For example, transactions codes must never leak into pre-auth codes.
-
-
Method Details
-
getCredentialConfigurationIds
-
getCredentialsOfferId
-
setCredentialsOfferId
-
getAuthorizationDetails
-
setAuthorizationDetails
-
getTargetClientId
-
setTargetClientId
-
getTargetUserId
-
setTargetUserId
-
getNonce
-
setNonce
-
getExpiresAt
-
setExpiresAt
-
equals
-
hashCode
public int hashCode() -
clone
-