IdentityAccountChooserPrompt Class
The account chooser of a FedCM request, given to UserAgentUIBackend.ChooseIdentityAccountAsync.
public sealed class IdentityAccountChooserPrompt : IdentityCredentialPrompt- Inheritance
IdentityCredentialPromptIdentityAccountChooserPrompt
Properties
| Name | Description |
|---|---|
| Accounts | Gets the accounts the user can choose from, in the order of the providers of the request (IdentityProviderAccount.ConfigUrl is the provider of an account). |
| ShowsSiteOrigin | Gets whether the dialog must show the site of UserAgentPrompt.Origin (the requesting frame), in addition to the site of UserAgentPrompt.TopLevelOrigin: the client metadata of the provider tells that the site is a third party to the top-level site. |
| SupportsUseOtherAccount | Gets whether the chooser offers to sign in to another account of the provider (IdentityAccountChoice.UseOtherAccount): a request to a single provider whose config supports it (the specification only offers it to the active requests, the browsers to every request). |
Accounts
UserAgentUIBackend.FedCm.csGets the accounts the user can choose from, in the order of the providers of the request (IdentityProviderAccount.ConfigUrl is the provider of an account).
public IReadOnlyList<IdentityProviderAccount> Accounts { get; }Property value
ShowsSiteOrigin
UserAgentUIBackend.FedCm.csGets whether the dialog must show the site of UserAgentPrompt.Origin (the requesting frame), in addition to the site of UserAgentPrompt.TopLevelOrigin: the client metadata of the provider tells that the site is a third party to the top-level site.
public bool ShowsSiteOrigin { get; }Property value
SupportsUseOtherAccount
UserAgentUIBackend.FedCm.csGets whether the chooser offers to sign in to another account of the provider (IdentityAccountChoice.UseOtherAccount): a request to a single provider whose config supports it (the specification only offers it to the active requests, the browsers to every request).
public bool SupportsUseOtherAccount { get; }