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/specs/credentialmanagement/#federatedcredenti
al |
| 6 |
5 [ | 7 [ |
6 RuntimeEnabled=CredentialManager, | 8 RuntimeEnabled=CredentialManager, |
7 RaisesException=Constructor, | 9 RaisesException=Constructor, |
8 Constructor(DOMString id, DOMString federation, optional DOMString name, opt
ional DOMString avatarURL) | 10 Constructor(FederatedCredentialData data) |
9 ] interface FederatedCredential : Credential { | 11 ] interface FederatedCredential : Credential { |
10 readonly attribute DOMString federation; | 12 readonly attribute USVString provider; |
| 13 |
| 14 // TODO(mkwst): We don't really support this yet; it always returns ''. |
| 15 readonly attribute DOMString? protocol; |
11 }; | 16 }; |
OLD | NEW |