Type Alias: WithOcSession<Req>
type WithOcSession<Req> = Req & {
ocSession?: SessionPayload | null;
};
Defined in: me-client/src/server.ts:423 (opens in a new tab)
A request with the verified session attached: WithOcSession<NextApiRequest>.
Type DeclarationLink to this section
| Name | Type | Defined in |
|---|---|---|
ocSession? | SessionPayload | null | me-client/src/server.ts:423 (opens in a new tab) |
Type ParametersLink to this section
| Type Parameter |
|---|
Req |