@nextcloud/dialogs
    Preparing search index...

    Interface NavigatorLogin

    The NavigatorLogin interface of the Federated Credential Management (FedCM) API defines login functionality for federated identity providers (IdPs). Specifically, it enables a federated identity provider (IdP) to set its login status when a user signs into or out of the IdP. Available only in secure contexts.

    MDN Reference

    interface NavigatorLogin {
        setStatus(status: LoginStatus): Promise<void>;
    }
    Index

    Methods

    Methods

    • The setStatus() method of the NavigatorLogin interface sets the login status of a federated identity provider (IdP), when called from the IdP's origin. By this, we mean "whether any users are logged into the IdP on the current browser or not". This should be called by the IdP site following a user login or logout.

      MDN Reference

      Parameters

      Returns Promise<void>