supertokens-node
    Preparing search index...

    Variable getUserFromRecoverAccountToken

    getUserFromRecoverAccountToken: (
        input: {
            tenantId: string;
            token: string;
            userContext?: Record<string, any>;
        },
    ) => Promise<
        | GetUserFromRecoverAccountTokenErrorResponse
        | { recipeUserId?: RecipeUserId; status: "OK"; user: User },
    > = Wrapper.getUserFromRecoverAccountToken

    Type declaration

      • (
            input: {
                tenantId: string;
                token: string;
                userContext?: Record<string, any>;
            },
        ): Promise<
            | GetUserFromRecoverAccountTokenErrorResponse
            | { recipeUserId?: RecipeUserId; status: "OK"; user: User },
        >
      • Parameters

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

        Returns Promise<
            | GetUserFromRecoverAccountTokenErrorResponse
            | { recipeUserId?: RecipeUserId; status: "OK"; user: User },
        >