MCPcopy
hub / github.com/nextauthjs/next-auth / NextAuthClientConfig

Interface NextAuthClientConfig

src/client/_utils.ts:4–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import type { LoggerInstance, Session } from ".."
3
4export interface NextAuthClientConfig {
5 baseUrl: string
6 basePath: string
7 baseUrlServer: string
8 basePathServer: string
9 /** Stores last session response */
10 _session?: Session | null | undefined
11 /** Used for timestamp since last sycned (in seconds) */
12 _lastSync: number
13 /**
14 * Stores the `SessionProvider`'s session update method to be able to
15 * trigger session updates from places like `signIn` or `signOut`
16 */
17 _getSession: (...args: any[]) => any
18}
19
20export interface CtxOrReq {
21 req?: IncomingMessage

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…