Index: third_party/WebKit/Source/modules/webauth/MakeCredentialOptions.idl |
diff --git a/third_party/WebKit/Source/modules/webauth/MakeCredentialOptions.idl b/third_party/WebKit/Source/modules/webauth/MakeCredentialOptions.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5da96228db3677f46ce4ac890896daf4cf46aa6b |
--- /dev/null |
+++ b/third_party/WebKit/Source/modules/webauth/MakeCredentialOptions.idl |
@@ -0,0 +1,16 @@ |
+// Copyright 2017 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-makecredentialoptions |
+ |
+dictionary MakeCredentialOptions { |
+ required PublicKeyCredentialEntity rp; |
+ required PublicKeyCredentialUserEntity user; |
+ required BufferSource challenge; |
+ required sequence<PublicKeyCredentialParameters> parameters; |
+ unsigned long timeout; |
+ sequence<PublicKeyCredentialDescriptor> excludeCredentials = []; |
+ AuthenticatorSelectionCriteria authenticatorSelection; |
+ // TODO(crbug.com/733033): Add extension support |
+}; |