UNPKG

next-auth

Version:

Authentication for Next.js

20 lines 544 B
import type { OAuthConfig, OAuthUserConfig } from "."; export interface GoogleProfile extends Record<string, any> { aud: string; azp: string; email: string; email_verified: boolean; exp: number; family_name: string; given_name: string; hd: string; iat: number; iss: string; jti: string; name: string; nbf: number; picture: string; sub: string; } export default function Google<P extends GoogleProfile>(options: OAuthUserConfig<P>): OAuthConfig<P>; //# sourceMappingURL=google.d.ts.map