NavigatorLogin Class

The Login Status API of a window (https://w3c-fedid.github.io/login-status/#navigatorlogin): navigator.login. An identity provider tells the user agent whether the user is signed in to it, with NavigatorLogin.SetStatus or with the Set-Login response header; a FedCM request does not fetch the accounts of a provider whose user is signed out.

public sealed class NavigatorLogin

Methods

NameDescription
SetStatus(LoginStatus)Sets the login status of the origin of the document (https://w3c-fedid.github.io/login-status/#dom-navigatorlogin-setstatus). The task fails with a SecurityError DomException when the document is in a frame that is not same site with its ancestors.

SetStatus(LoginStatus)

LoginStatus.cs

Sets the login status of the origin of the document (https://w3c-fedid.github.io/login-status/#dom-navigatorlogin-setstatus). The task fails with a SecurityError DomException when the document is in a frame that is not same site with its ancestors.

public Task SetStatus(LoginStatus status)