Dfns TypeScript SDK - v0.8.35
    Preparing search index...

    Interface CredentialStore<T>

    interface CredentialStore<
        T extends CredentialAttestation = FirstFactorAttestation,
    > {
        create(
            options: {
                attestation: AttestationConveyancePreference;
                authenticatorSelection?: unknown;
                challenge: string;
                excludeCredentials: { id: string; type: string }[];
                pubKeyCredParams: { alg: number; type: string }[];
                user: { displayName: string; id: string; name: string };
            },
        ): Promise<T>;
    }

    Type Parameters

    Implemented by

    Index

    Methods

    Methods

    • Parameters

      • options: {
            attestation: AttestationConveyancePreference;
            authenticatorSelection?: unknown;
            challenge: string;
            excludeCredentials: { id: string; type: string }[];
            pubKeyCredParams: { alg: number; type: string }[];
            user: { displayName: string; id: string; name: string };
        }

      Returns Promise<T>