Require login on your Encore Go endpoints.
Adds authentication and caller identity access to Encore Go endpoints.
When to use it
Use when protecting Go endpoints, validating authentication credentials, or accessing the current caller's identity.
Give it an Encore Go project and an authentication requirement; it adds an auth handler and protects the relevant endpoints.
What you provide
Requires Encore's Go authentication package, which the auth handler imports.
No additional actions listed.