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

Interface IncomingRequest

src/core/index.ts:13–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11import type { ErrorType } from "./pages/error"
12
13export interface IncomingRequest {
14 /** @default "http://localhost:3000" */
15 host?: string
16 method?: string
17 cookies?: Record<string, string>
18 headers?: Record<string, any>
19 query?: Record<string, any>
20 body?: Record<string, any>
21 action: NextAuthAction
22 providerId?: string
23 error?: string
24}
25
26export interface NextAuthHeader {
27 key: string

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…