FederatedCredential: FederatedCredential() constructor
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 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
js
new FederatedCredential(init)
Parameters
Specifications
Specification |
---|
Credential Management Level 1 # dom-federatedcredential-federatedcredential |
Browser compatibility
BCD tables only load in the browser