Feature Request
Which Areas Would Be Affected?
VC Issuance – specifically JwtCredentialGenerator
Why Is the Feature Desired?
The VerifiableCredential model name and description can be defined through MappingDefinition as part of a credential's claim mapping. However, the JwtCredentialGenerator currently does not extract or set these fields, even if they are present in the mapped claims.
Supporting this would make it possible to add name and description to issued credentials.
Who will sponsor this feature?
Solution Proposal
One possibility is to extend JwtCredentialGenerator.generateCredential to optionally extract name and description from the claims map and apply them to the credential builder. Perhaps this logic should be separated entirely, especially if there will be implementations of CredentialGenerator for other credential formats.
Feature Request
Which Areas Would Be Affected?
VC Issuance – specifically
JwtCredentialGeneratorWhy Is the Feature Desired?
The
VerifiableCredentialmodelnameanddescriptioncan be defined throughMappingDefinitionas part of a credential's claim mapping. However, theJwtCredentialGeneratorcurrently does not extract or set these fields, even if they are present in the mapped claims.Supporting this would make it possible to add
nameanddescriptionto issued credentials.Who will sponsor this feature?
Solution Proposal
One possibility is to extend
JwtCredentialGenerator.generateCredentialto optionally extractnameanddescriptionfrom theclaimsmap and apply them to the credential builder. Perhaps this logic should be separated entirely, especially if there will be implementations ofCredentialGeneratorfor other credential formats.