Non-standard This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
The FederatedCredential
constructor creates a new FederatedCredential
object. In supporting browsers, an instance of this class may be passed the credential
received from the init
object for global fetch
.
Syntax
var myCredential = new FederatedCredential(init)
Parameters
- init
- Options are:
provider
- A
USVString
; identifying the credential provider.
- A
Specifications
Specification | Status | Comment |
Credential Management Level 1 | Working Draft | Initial definition. |
Browser compatibility
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Chrome
Full support 51 |
Edge
Full support ≤79 |
Firefox
? |
IE
No support No |
Opera
Full support 38 |
Safari
? |
WebView Android
Full support 51 |
Chrome Android
Full support 51 |
Firefox Android
? |
Opera Android
Full support 41 |
Safari iOS
? |
Samsung Internet Android
Full support 5.0 |
Legend
- Full support
- Full support
- No support
- No support
- Compatibility unknown
- Compatibility unknown
- Non-standard. Expect poor cross-browser support.'
- Non-standard. Expect poor cross-browser support.
FederatedCredential by Mozilla Contributors is licensed under CC-BY-SA 2.5.