@nextcloud/dialogs
    Preparing search index...

    Interface Credential

    The Credential interface of the Credential Management API provides information about an entity (usually a user) normally as a prerequisite to a trust decision. Available only in secure contexts.

    MDN Reference

    interface Credential {
        id: string;
        type: string;
    }
    Index

    Properties

    Properties

    id: string

    The id read-only property of the Credential interface returns a string containing the credential's identifier. This might be a GUID, username, or email address, or some other value, depending on the type of credential.

    MDN Reference

    type: string

    The type read-only property of the Credential interface returns a string containing the credential's type. Valid values are password, federated, public-key, identity and otp.

    MDN Reference