supertokens-node
    Preparing search index...

    Variable consumeRecoverAccountToken

    consumeRecoverAccountToken: (
        input: {
            tenantId: string;
            token: string;
            userContext?: Record<string, any>;
        },
    ) => Promise<
        | ConsumeRecoverAccountTokenErrorResponse
        | { email: string; status: "OK"; userId: string },
    > = Wrapper.consumeRecoverAccountToken

    Type declaration

      • (
            input: {
                tenantId: string;
                token: string;
                userContext?: Record<string, any>;
            },
        ): Promise<
            | ConsumeRecoverAccountTokenErrorResponse
            | { email: string; status: "OK"; userId: string },
        >
      • Parameters

        • input: { tenantId: string; token: string; userContext?: Record<string, any> }

        Returns Promise<
            | ConsumeRecoverAccountTokenErrorResponse
            | { email: string; status: "OK"; userId: string },
        >