Class OID4VCIssuedAtTimeClaimMapper

java.lang.Object
org.keycloak.protocol.oid4vc.issuance.mappers.OID4VCMapper
org.keycloak.protocol.oid4vc.issuance.mappers.OID4VCIssuedAtTimeClaimMapper
All Implemented Interfaces:
OID4VCEnvironmentProviderFactory, ProtocolMapper, ConfiguredProvider, EnvironmentDependentProviderFactory, Provider, ProviderFactory<ProtocolMapper>

public class OID4VCIssuedAtTimeClaimMapper extends OID4VCMapper
Map issuance date to the credential, under the default claim name "iat"

subjectProperty can be used to change the claim name.

Source of the information can either be computed, or read from the VerifiableCredential object bearing other claims. Default is the value in the verifiable credential.

We will use the java.time.temporal.ChronoUnit enum values to help flatten down the time.

Author:
Francis Pouatcha