Back to prompt library
Create Auth Evaluation Handler with Vercel AI SDK
Linked challenge: Passkey Security Risk & Adaptive Authentication Engine with Vercel AI SDK
Prompt source
implementation1 lines1 sectionsNo variables0 checklist items
Write a TypeScript function using `generateObject` from `ai` and Zod to parse dynamic login telemetry and output a strictly typed authentication decision.