This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
Secure context
This 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 1 The 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.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
protocol | Chrome Full support 51 | Edge Full support ≤79 | Firefox ? | IE ? | Opera Full support Yes | Safari ? | WebView Android Full support 51 | Chrome Android Full support 51 | Firefox Android ? | Opera Android ? | Safari iOS ? | Samsung Internet Android Full support 5.0 |
Legend
- Full support
- Full support
- Compatibility unknown
- Compatibility unknown
- Experimental. Expect behavior to change in the future.
- Experimental. Expect behavior to change in the future.