Skip to content

@adrianhall/cloudflare-toolkit


@adrianhall/cloudflare-toolkit / lib/vite / DevLoginUser

Interface: DevLoginUser

Defined in: src/lib/vite/login-page.ts:8

A selectable identity rendered on the dev login form.

Properties

email

email: string

Defined in: src/lib/vite/login-page.ts:10

Email address used as the JWT email claim.


name?

optional name?: string

Defined in: src/lib/vite/login-page.ts:12

Optional human-friendly display name.


sub?

optional sub?: string

Defined in: src/lib/vite/login-page.ts:20

Optional subject claim to pin for this identity.

When provided it is used verbatim as the JWT sub so the identity has a stable, realistic subject across logins. When omitted a random UUID is generated each time the user signs in (matching the shape of a real Cloudflare Access sub).