OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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-credential-management/#federatedcredential | 5 // https://w3c.github.io/webappsec-credential-management/#federatedcredential |
6 | 6 |
7 [ | 7 [ |
8 RuntimeEnabled=CredentialManager, | |
9 RaisesException=Constructor, | 8 RaisesException=Constructor, |
10 Constructor(FederatedCredentialData data), | 9 Constructor(FederatedCredentialData data), |
11 Exposed=Window | 10 Exposed=Window, |
| 11 SecureContext |
12 ] interface FederatedCredential : Credential { | 12 ] interface FederatedCredential : Credential { |
13 readonly attribute USVString provider; | 13 readonly attribute USVString provider; |
14 | 14 |
15 // TODO(mkwst): We don't really support this yet; it always returns ''. | 15 // TODO(mkwst): We don't really support this yet; it always returns ''. |
16 readonly attribute DOMString? protocol; | 16 readonly attribute DOMString? protocol; |
17 }; | 17 }; |
18 FederatedCredential implements CredentialUserData; | 18 FederatedCredential implements CredentialUserData; |
OLD | NEW |