Automatic update from web-platform-tests Sync interfaces/ with @webref/idl 3.79.0 (#60209) Co-authored-by: wpt-pr-bot <wpt-pr-bot@users.noreply.github.com> -- wpt-commits: 094ec9eb5b99991895d93677567507031d01af53 wpt-pr: 60209
52 lines
1.4 KiB
Plaintext
52 lines
1.4 KiB
Plaintext
// GENERATED CONTENT - DO NOT EDIT
|
|
// Content was automatically extracted by Reffy into webref
|
|
// (https://github.com/w3c/webref)
|
|
// Source: Digital Credentials (https://w3c-fedid.github.io/digital-credentials/)
|
|
|
|
partial dictionary CredentialRequestOptions {
|
|
DigitalCredentialRequestOptions digital;
|
|
};
|
|
|
|
dictionary DigitalCredentialRequestOptions {
|
|
required sequence<DigitalCredentialGetRequest> requests;
|
|
};
|
|
|
|
dictionary DigitalCredentialGetRequest {
|
|
required DOMString protocol;
|
|
required object data;
|
|
};
|
|
|
|
partial dictionary CredentialCreationOptions {
|
|
DigitalCredentialCreationOptions digital;
|
|
};
|
|
|
|
dictionary DigitalCredentialCreationOptions {
|
|
required sequence<DigitalCredentialCreateRequest> requests;
|
|
};
|
|
|
|
dictionary DigitalCredentialCreateRequest {
|
|
required DOMString protocol;
|
|
required object data;
|
|
};
|
|
|
|
typedef (DigitalCredentialPresentationProtocol or DigitalCredentialIssuanceProtocol) DigitalCredentialProtocol;
|
|
|
|
[Exposed=Window, SecureContext]
|
|
interface DigitalCredential : Credential {
|
|
[Default] object toJSON();
|
|
readonly attribute DigitalCredentialProtocol protocol;
|
|
[SameObject] readonly attribute object data;
|
|
static boolean userAgentAllowsProtocol(DOMString protocol);
|
|
};
|
|
|
|
enum DigitalCredentialPresentationProtocol {
|
|
"openid4vp-v1-unsigned",
|
|
"openid4vp-v1-signed",
|
|
"openid4vp-v1-multisigned",
|
|
"org-iso-mdoc"
|
|
};
|
|
|
|
enum DigitalCredentialIssuanceProtocol {
|
|
"openid4vci-v1",
|
|
};
|