import RecipeModule from "../recipeModule"; import type { NormalisedConfig, OnHandleEventContext } from "./types"; import type { UserContext } from "../../types"; export default abstract class AuthRecipe< T, Action, R, N extends NormalisedConfig > extends RecipeModule { abstract firstFactorIds: string[]; abstract getFirstFactorsForAuthPage(): string[]; getAuthRecipeDefaultRedirectionURL: (_context: T) => Promise; signOut: (input?: { userContext?: UserContext }) => Promise; doesSessionExist: (input?: { userContext?: UserContext }) => Promise; }