@triveria/wallet 0.0.322 → 0.0.323
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.d.ts +16 -0
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -186,6 +186,14 @@ export interface CredentialIssuerDefinition {
|
|
|
186
186
|
* When true, the credential request proof must carry a key attestation of the holder key, either as the `key_attestation` header of a `jwt` proof or as an `attestation` proof (OID4VCI 1.0 Appendix D). Defaults to false.
|
|
187
187
|
*/
|
|
188
188
|
'requiresKeyAttestation'?: boolean;
|
|
189
|
+
/**
|
|
190
|
+
* When true, the token request for this credential must carry a DPoP proof (RFC 9449), so the access token is sender-constrained (FAPI 2.0 Security Profile §5.3.2.1). Defaults to false (DPoP optional).
|
|
191
|
+
*/
|
|
192
|
+
'requiresDpop'?: boolean;
|
|
193
|
+
/**
|
|
194
|
+
* When true, a wallet may request this credential without an offer, by an authorization request naming its credential configuration in `authorization_details` or `scope` (OID4VCI 1.0 §5.1). The holder then authorizes as `authorization` requires; with `none` or `oauthNoAuth` anyone may obtain the credential. Defaults to false.
|
|
195
|
+
*/
|
|
196
|
+
'walletInitiated'?: boolean;
|
|
189
197
|
}
|
|
190
198
|
export declare const CredentialIssuerDefinitionCredentialIssuerEnum: {
|
|
191
199
|
readonly CtWalletSame: "CtWalletSame";
|
|
@@ -706,6 +714,10 @@ export interface InitAuthOffer {
|
|
|
706
714
|
* ID of the issuer used to issue the credential.
|
|
707
715
|
*/
|
|
708
716
|
'issuerId': string;
|
|
717
|
+
/**
|
|
718
|
+
* IDs of further issuers whose credentials are offered together with the one of issuerId, one credential configuration each (OID4VCI 1.0 §4.1.1). The issuer of issuerId decides how the holder authorizes. Not supported together with wmpEntityId or issuanceQueueItemId.
|
|
719
|
+
*/
|
|
720
|
+
'issuerIds'?: Array<string>;
|
|
709
721
|
'offerEndpoint'?: string;
|
|
710
722
|
'deferred'?: boolean;
|
|
711
723
|
/**
|
|
@@ -733,6 +745,10 @@ export interface InitPreAuthOffer {
|
|
|
733
745
|
* ID of the issuer used to issue the credential.
|
|
734
746
|
*/
|
|
735
747
|
'issuerId': string;
|
|
748
|
+
/**
|
|
749
|
+
* IDs of further issuers whose credentials are offered together with the one of issuerId, one credential configuration each (OID4VCI 1.0 §4.1.1). The issuer of issuerId decides how the holder authorizes. Not supported together with wmpEntityId.
|
|
750
|
+
*/
|
|
751
|
+
'issuerIds'?: Array<string>;
|
|
736
752
|
'offerEndpoint'?: string;
|
|
737
753
|
'deferred'?: boolean;
|
|
738
754
|
/**
|