UNPKG

@light-auth/core

Version:

light auth core framework agnostic, using arctic

6 lines (5 loc) 371 B
import { type LightAuthSession, type LightAuthUser, type LightAuthConfig, type BaseResponse } from "../models"; export declare function getCsrfToken<Session extends LightAuthSession = LightAuthSession, User extends LightAuthUser<Session> = LightAuthUser<Session>>(args: { config: LightAuthConfig<Session, User>; [key: string]: unknown; }): Promise<BaseResponse>;