← Back
Milan Jovanovic December 17, 2025 57s

Why Are You Writing Two Classes for Auth?

Summary

The transcript discusses custom authorization techniques in ASP.NET Core, focusing on how developers can create flexible authorization requirements and handlers. The key points include implementing both an authorization requirement and handler in the same class, understanding how to pass authorization checks by calling "succeed" on the handler context, and using extension methods for minimal APIs to enforce permissions. The practical takeaway is that developers can create more granular and fluent authorization checks with these techniques, allowing for precise control over API endpoint access.

View original episode ↗