Encore Authentication Instructions Encore.ts provides a built-in authentication system for identifying API callers and protecting endpoints. 1. Create an Auth Handler 2. Protect Endpoints 3. Access Auth Data in Endpoints Auth Handler Behavior | Scenario | Handler Returns | Result | |----------|----------------|--------| | Valid credentials | object | Request authenticated | | Invalid credentials | Throws | Treated as no auth | | Other error | Throws other error | Request aborted | Auth with Endpoints | Endpoint Config | Request Has Auth | Result | |-----------------|------------------|-------…