@light-auth/core
Version:
light auth core framework agnostic, using arctic
9 lines (8 loc) • 441 B
TypeScript
import { type LightAuthConfig, type LightAuthSession, type LightAuthUser } from "../models";
export declare function logoutAndRevokeTokenHandler<Session extends LightAuthSession = LightAuthSession, User extends LightAuthUser<Session> = LightAuthUser<Session>>(args: {
config: LightAuthConfig<Session, User>;
revokeToken?: boolean;
callbackUrl?: string;
checkCsrf?: boolean;
[key: string]: unknown;
}): Promise<Response>;