UNPKG

next-auth

Version:

Authentication for Next.js

23 lines 644 B
import type { OAuthConfig, OAuthUserConfig } from "."; export interface AuthentikProfile extends Record<string, any> { iss: string; sub: string; aud: string; exp: number; iat: number; auth_time: number; acr: string; c_hash: string; nonce: string; at_hash: string; email: string; email_verified: boolean; name: string; given_name: string; family_name: string; preferred_username: string; nickname: string; groups: string[]; } export default function Authentik<P extends AuthentikProfile>(options: OAuthUserConfig<P>): OAuthConfig<P>; //# sourceMappingURL=authentik.d.ts.map