This is an experimental technologyCheck the Browser compatibility table carefully before using this in production.
Secure contextThis feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The protocol
property of the FederatedCredential
interface returns a read-only DOMString
containing a credential's federated identity protocol. If this property is null
, the protocol may be inferred from the FederatedCredential.provider
property.
Syntax
var protocol = FederatedCredential.protocol
Value
A DOMString
containing a credential's federated identity protocol (e.g. openidconnect
).
Examples
// TBD
Specifications
Specification | Status | Comments |
---|---|---|
Credential Management Level 1The definition of 'protocol' in that specification. | 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
- Experimental. Expect behavior to change in the future.'
- Experimental. Expect behavior to change in the future.
FederatedCredential.protocol by Mozilla Contributors is licensed under CC-BY-SA 2.5.