@light-auth/core
Version:
light auth core framework agnostic, using arctic
7 lines (6 loc) • 398 B
TypeScript
import { type LightAuthConfig, type LightAuthSession, type LightAuthUser } from "../models";
export declare function providerCallbackHandler<Session extends LightAuthSession = LightAuthSession, User extends LightAuthUser<Session> = LightAuthUser<Session>>(args: {
config: LightAuthConfig<Session, User>;
providerName?: string;
[key: string]: unknown;
}): Promise<Response | undefined>;