OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // https://w3c.github.io/webauthn/#enumdef-externaltransport | 5 // https://w3c.github.io/webauthn/#enumdef-authenticatortransport |
6 | 6 |
7 enum Transport { | 7 enum Transport { |
8 "usb", | 8 "usb", |
9 "nfc", | 9 "nfc", |
10 "ble" | 10 "ble" |
11 }; | 11 }; |
12 | 12 |
13 // https://w3c.github.io/webauthn/#dictdef-scopedcredentialdescriptor | 13 // https://w3c.github.io/webauthn/#dictdef-publickeycredentialdescriptor |
14 | 14 |
15 dictionary ScopedCredentialDescriptor { | 15 dictionary PublicKeyCredentialDescriptor { |
16 required ScopedCredentialType type; | 16 required PublicKeyCredentialType type; |
17 required BufferSource id; | 17 required BufferSource id; |
18 sequence<Transport> transports; | 18 sequence<Transport> transports; |
19 }; | 19 }; |
OLD | NEW |