supertokens-node
    Preparing search index...

    Variable recoverAccount

    recoverAccount: (
        __namedParameters: {
            credential: RegistrationPayload;
            tenantId?: string;
            token: string;
            userContext?: Record<string, any>;
            webauthnGeneratedOptionsId: string;
        },
    ) => Promise<
        | ConsumeRecoverAccountTokenErrorResponse
        | RegisterCredentialErrorResponse
        | { status: "OK" },
    > = Wrapper.recoverAccount

    Type declaration

      • (
            __namedParameters: {
                credential: RegistrationPayload;
                tenantId?: string;
                token: string;
                userContext?: Record<string, any>;
                webauthnGeneratedOptionsId: string;
            },
        ): Promise<
            | ConsumeRecoverAccountTokenErrorResponse
            | RegisterCredentialErrorResponse
            | { status: "OK" },
        >
      • Parameters

        • __namedParameters: {
              credential: RegistrationPayload;
              tenantId?: string;
              token: string;
              userContext?: Record<string, any>;
              webauthnGeneratedOptionsId: string;
          }

        Returns Promise<
            | ConsumeRecoverAccountTokenErrorResponse
            | RegisterCredentialErrorResponse
            | { status: "OK" },
        >