FederatedCredential: protocol property

Experimental: 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 string containing a credential's federated identity protocol. If this property is null, the protocol may be inferred from the FederatedCredential.provider property.

Value

A string containing a credential's federated identity protocol (e.g. openidconnect).

Examples

js
// TBD

Specifications

Specification
Credential Management Level 1
# dom-federatedcredential-protocol

Browser compatibility

BCD tables only load in the browser