Web/API/FederatedCredential/protocol

From Get docs

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

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet

protocol

Experimental'

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.