W3cubDocs

/Web APIs

FederatedCredential: FederatedCredential() constructor

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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

init

Options are:

provider

A string; identifying the credential provider.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
FederatedCredential 51 79 No No 38 No 51 51 No 41 No 5.0

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/FederatedCredential/FederatedCredential