@adrianhall/cloudflare-toolkit
@adrianhall/cloudflare-toolkit / lib/hono / AuthVariables
Interface: AuthVariables
Defined in: src/lib/hono/types.ts:42
Context variables set by cloudflareAccess on a successfully authenticated request. Intersect this with your own Variables when typing your Hono instance so that c.get("Cloudflare_Access_Identity") is statically known:
ts
interface AppVariables extends AuthVariables {
// Custom variables go here
}
type AppContext = { Bindings: Env; Variables: AppVariables };Properties
Cloudflare_Access_Identity
Cloudflare_Access_Identity:
CloudflareAccessIdentity
Defined in: src/lib/hono/types.ts:44
The verified Cloudflare Access identity for the selected request credential.