IdentityProviderAccount Class
An account of an identity provider (https://w3c-fedid.github.io/FedCM/#dictdef-identityprovideraccount), returned by its accounts endpoint and shown by the account chooser of a FedCM request (IdentityAccountChooserPrompt).
public sealed class IdentityProviderAccountProperties
| Name | Description |
|---|---|
| ApprovedClients | Gets the client identifiers of the sites that the account is registered with, or null. |
| ConfigUrl | Gets the URL of the config file of the identity provider of the account (set by the request that shows the account). |
| DomainHints | Gets the domain hints that match the account, or null. |
| Gets the email address of the account, or null. | |
| GivenName | Gets the given name of the user, or null. |
| Id | Gets the identifier of the account at the identity provider. |
| IsConnected | Gets whether the account is connected to the site (https://w3c-fedid.github.io/FedCM/#compute-the-connection-status): the user signs in with it, else the user signs up (set by the request that shows the account). |
| LabelHints | Gets the labels of the account, or null. |
| LoginHints | Gets the login hints that match the account, or null. |
| Name | Gets the full name of the user, or null. |
| Picture | Gets the URL of the picture of the account, as the identity provider returned it, or null. |
| PictureContent | Gets the content of the picture of the account, fetched before the account is shown (https://w3c-fedid.github.io/FedCM/#fetch-the-account-picture), or null when it could not be fetched. |
| PrivacyPolicyUrl | Gets the URL of the privacy policy of the site, shown to the user who signs up, or null. |
| Tel | Gets the phone number of the account, or null. |
| TermsOfServiceUrl | Gets the URL of the terms of service of the site, shown to the user who signs up, or null. |
| Username | Gets the user name of the account, or null. |
ApprovedClients
IdentityProviderResponses.csGets the client identifiers of the sites that the account is registered with, or null.
public IReadOnlyList<string>? ApprovedClients { get; init; }Property value
ConfigUrl
IdentityProviderResponses.csDomainHints
IdentityProviderResponses.csGets the domain hints that match the account, or null.
public IReadOnlyList<string>? DomainHints { get; init; }Property value
GivenName
IdentityProviderResponses.csIsConnected
IdentityProviderResponses.csLabelHints
IdentityProviderResponses.csGets the labels of the account, or null.
public IReadOnlyList<string>? LabelHints { get; init; }Property value
LoginHints
IdentityProviderResponses.csGets the login hints that match the account, or null.
public IReadOnlyList<string>? LoginHints { get; init; }Property value
Picture
IdentityProviderResponses.csPictureContent
IdentityProviderResponses.csGets the content of the picture of the account, fetched before the account is shown (https://w3c-fedid.github.io/FedCM/#fetch-the-account-picture), or null when it could not be fetched.
public ReadOnlyMemory<byte>? PictureContent { get; }