Index: third_party/WebKit/Source/modules/webauth/PublicKeyCredentialRequestOptions.idl |
diff --git a/third_party/WebKit/Source/modules/webauth/PublicKeyCredentialRequestOptions.idl b/third_party/WebKit/Source/modules/webauth/PublicKeyCredentialRequestOptions.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ada0c3ad1a38587c91c646f8ee8269f6cc17ed00 |
--- /dev/null |
+++ b/third_party/WebKit/Source/modules/webauth/PublicKeyCredentialRequestOptions.idl |
@@ -0,0 +1,13 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// https://w3c.github.io/webauthn/#dictdef-publickeycredentialrequestoptions |
+ |
+dictionary PublicKeyCredentialRequestOptions { |
+ required BufferSource challenge; |
+ unsigned long timeout; |
+ USVString rpId; |
+ sequence <PublicKeyCredentialDescriptor> allowCredentials = []; |
+ // TODO(crbug.com/733033): Add extension support |
+}; |