Class FederatedCredential
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
NOTE
ExperimentalFederatedCredential interface of the Credential Management API provides information about credentials from a federated identity provider. A federated identity provider is an entity that a website trusts to correctly authenticate a user, and that provides an API for that purpose. OpenID Connect is an example of a federated identity provider framework.
[Value("FederatedCredential")]
public class FederatedCredential : Credential, CredentialUserData
- Inheritance
-
FederatedCredential
- Implements
- Inherited Members
Remarks
NOTE
The Federated Credential Management API (FedCM) provides a more complete solution for handling identity federation in the browser, and uses the IdentityCredential type.
In browsers that support it, an instance of this interface may be passed in the credential member of the init object for global Windowfetch.
Constructors
FederatedCredential()
public FederatedCredential()
FederatedCredential(FederatedCredentialInit)
NOTE
ExperimentalFederatedCredential() 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 Windowfetch.
public FederatedCredential(FederatedCredentialInit data)
Parameters
Remarks
Properties
Protocol
NOTE
Experimentalprotocol property of theFederatedCredential interface returns a read-only
string containing a credential's federated identity protocol. If this
property is
null, the protocol may be inferred from theProvider property.
[Value("protocol")]
public string? Protocol { get; }
Property Value
- string
A string containing a credential's federated identity protocol (e.g.
openidconnect).
Remarks
Provider
NOTE
Experimentalprovider property of theFederatedCredential interface returns a string
containing a credential's federated identity provider.
[Value("provider")]
public string Provider { get; }
Property Value
- string
A string containing a credential's federated identity provider.