@nextcloud/dialogs
    Preparing search index...

    Interface CredentialsContainer

    The CredentialsContainer interface of the Credential Management API exposes methods to request credentials and notify the user agent when events such as successful sign in or sign out happen. Available only in secure contexts.

    MDN Reference

    interface CredentialsContainer {
        create(options?: CredentialCreationOptions): Promise<Credential | null>;
        get(options?: CredentialRequestOptions): Promise<Credential | null>;
        preventSilentAccess(): Promise<void>;
        store(credential: Credential): Promise<void>;
    }
    Index
    • The preventSilentAccess() method of the CredentialsContainer interface sets a flag that specifies whether automatic log in is allowed for future visits to the current origin, then returns a Promise that resolves to undefined.

      MDN Reference

      Returns Promise<void>

    • The store() method of the js-nolint store(credentials) - credentials - : A valid Credential instance.

      MDN Reference

      Parameters

      Returns Promise<void>