summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/interfaces/digital-identities.idl
blob: 2d1b7208502e040bbf4080db7ae1404c778e4dba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: Digital Credentials (https://wicg.github.io/digital-identities/)

partial interface Navigator {
  [SecureContext, SameObject] readonly attribute CredentialsContainer identity;
};

partial dictionary CredentialRequestOptions {
  DigitalCredentialRequestOptions digital;
};

dictionary DigitalCredentialRequestOptions {
  sequence<IdentityRequestProvider> providers;
};

dictionary IdentityRequestProvider {
  required DOMString protocol;
  required object request;
};

[Exposed=Window, SecureContext]
interface DigitalCredential : Credential {
  readonly attribute DOMString protocol;
  [SameObject] readonly attribute Uint8Array data;
};