refreshBody
Variable: refreshBody
constrefreshBody:ZodObject<{refreshToken:ZodOptional<ZodString>; },$strip>
Defined in: src/routes/auth/validators.ts:42
Zod schema for REST refresh-token request body.
In refreshBody, refreshToken is intentionally optional because the token may be
supplied either in the JSON body or via the HttpOnly cookie (e.g. talawa_refresh_token).
This is deliberate; do not tighten the schema so that both sources remain supported.