Skip to content

Commit

Permalink
fix: added back optional vct to CredentialConfigurationSupportedV1_0_…
Browse files Browse the repository at this point in the history
…13 for sd-jwt
  • Loading branch information
sksadjad committed May 17, 2024
1 parent 72474d6 commit 88341ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/common/lib/types/v1_0_13.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ export type CredentialDefinitionV1_0_13 = {

export type CredentialConfigurationSupportedV1_0_13 = {
credential_definition: CredentialDefinitionV1_0_13;
/**
* TODO: These two (vct and id) are solely added because of backward compatibility with sd-jwt. as soons as we have a clear understanding of the new sd-jwt issuer protocol we can remove this
*/
vct?: string;
id?: string;
format: OID4VCICredentialFormat; //REQUIRED. A JSON string identifying the format of this credential, e.g. jwt_vc_json or ldp_vc.
scope?: string; // OPTIONAL. A JSON string identifying the scope value that this Credential Issuer supports for this particular Credential. The value can be the same across multiple credential_configurations_supported objects. The Authorization Server MUST be able to uniquely identify the Credential Issuer based on the scope value. The Wallet can use this value in the Authorization Request as defined in Section 5.1.2. Scope values in this Credential Issuer metadata MAY duplicate those in the scopes_supported parameter of the Authorization Server.
Expand Down

0 comments on commit 88341ef

Please sign in to comment.