Interface: SessionHelpersDeps<S *extends* `SessionShape`>
Defined in: server/auth/next/server-helpers.ts:14
Type Parameters
| Type Parameter |
|---|
S extends SessionShape |
Properties
auth
auth: {
api: {
getSession: (input: {
headers: Headers;
}) => Promise<S | null>;
};
};Defined in: server/auth/next/server-helpers.ts:15
api
api: {
getSession: (input: {
headers: Headers;
}) => Promise<S | null>;
};api.getSession
getSession: (input: {
headers: Headers;
}) => Promise<S | null>;Parameters
| Parameter | Type |
|---|---|
input | { headers: Headers; } |
input.headers | Headers |
Returns
Promise<S | null>
headers
headers: () => Headers | Promise<Headers>;Defined in: server/auth/next/server-helpers.ts:19
Returns the inbound request headers — Next.js exports headers for this.
Returns
Headers | Promise<Headers>
paths?
optional paths?: {
login?: string;
selectOrg?: string;
};Defined in: server/auth/next/server-helpers.ts:20
login?
optional login?: string;selectOrg?
optional selectOrg?: string;