chromium/third_party/blink/renderer/modules/credentialmanagement/digital_credential.idl

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://wicg.github.io/digital-identities/#the-digitalcredential-interface

[
    Exposed=Window,
    SecureContext,
    RuntimeEnabled=WebIdentityDigitalCredentials
] interface DigitalCredential : Credential {
  // https://wicg.github.io/digital-identities/#dom-digitalcredential-protocol
  readonly attribute USVString protocol;

  // https://wicg.github.io/digital-identities/#dom-digitalcredential-data
  readonly attribute USVString data;
};