IdentityProviderRequestOptions Class
An identity provider requested by navigator.credentials.get({ identity }) (https://w3c-fedid.github.io/FedCM/#dictdef-identityproviderrequestoptions).
public sealed class IdentityProviderRequestOptions : IdentityProviderConfig- Inheritance
IdentityProviderConfigIdentityProviderRequestOptions
Constructors
| Name | Description |
|---|---|
| IdentityProviderRequestOptions() |
IdentityProviderRequestOptions()
- Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public IdentityProviderRequestOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| DomainHint | Gets the domain hint: only the accounts whose domain_hints contain it (any domain hint for any) are shown, or null. |
| Fields | Gets the fields of the account that the site requests (e.g. name, email, picture), or null for the default fields. |
| LoginHint | Gets the login hint: only the accounts whose login_hints contain it are shown, or null. |
| Nonce | Gets the nonce sent to the identity assertion endpoint, or null. The member is deprecated (the specification passes it in IdentityProviderRequestOptions.Params), but the browsers and the web-platform-tests still use it. |
| Params | Gets the custom parameters sent to the identity assertion endpoint as JSON (a value of the script, serialized with JSON.stringify()), or null. |
DomainHint
IdentityCredential.csGets the domain hint: only the accounts whose domain_hints contain it (any domain hint for any) are shown, or null.
public string? DomainHint { get; init; }Property value
See also
Fields
IdentityCredential.csGets the fields of the account that the site requests (e.g. name, email, picture), or null for the default fields.
public IReadOnlyList<string>? Fields { get; init; }LoginHint
IdentityCredential.csGets the login hint: only the accounts whose login_hints contain it are shown, or null.
public string? LoginHint { get; init; }Property value
See also
Gets the nonce sent to the identity assertion endpoint, or null. The member is deprecated (the specification passes it in IdentityProviderRequestOptions.Params), but the browsers and the web-platform-tests still use it.
public string? Nonce { get; init; }Property value
See also
Params
IdentityCredential.csGets the custom parameters sent to the identity assertion endpoint as JSON (a value of the script, serialized with JSON.stringify()), or null.
public object? Params { get; init; }