Skip to content

Variable: authStatusSchema

const authStatusSchema: ZodObject<{ authenticated: ZodBoolean; email: ZodOptional<ZodString>; enabled: ZodBoolean; passkeysEnabled: ZodOptional<ZodBoolean>; }, $strip>

Gate availability, session identity, and optional passkey capability.

  • authenticated: True when the browser holds a valid session.
  • email (optional): Signed-in address when a session exists.
  • enabled: True when the passwordless gate is configured.
  • passkeysEnabled (optional): True when WebAuthn passkeys are available.