| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/webappsec/specs/credentialmanagement/#dictdef-credentia
lrequestoptions | 5 // https://w3c.github.io/webappsec-credential-management/#dictdef-credentialrequ
estoptions |
| 6 |
| 7 enum CredentialMediationRequirement { |
| 8 "silent", |
| 9 "optional", |
| 10 "required" |
| 11 }; |
| 6 | 12 |
| 7 dictionary CredentialRequestOptions { | 13 dictionary CredentialRequestOptions { |
| 8 FederatedCredentialRequestOptions federated; | 14 FederatedCredentialRequestOptions federated; |
| 9 | 15 |
| 10 boolean password = false; | 16 boolean password = false; |
| 11 boolean unmediated = false; | 17 [DeprecateAs=CredentialManagerCredentialRequestOptionsUnmediated] boolean un
mediated = false; |
| 18 CredentialMediationRequirement mediation = "optional"; |
| 12 }; | 19 }; |
| OLD | NEW |