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