What problem does it solve? Choosing and wiring the wrong auth scheme in ASP.NET Core leads to insecure endpoints, scattered role checks, and hand-rolled user stores that quietly get security wrong. This Skill provides house conventions for both halves of .NET auth - authentication and authorization - so sign-in flows, token validation, and access policies are implemented correctly the first time. ## Core Features & Use Cases - Scheme selection by surface: JWT bearer for stateless APIs, cookie authentication for server-rendered apps, and OpenID Connect with authorization code flow for delegated SSO. - Hardened token handling: full issuer, audience, lifetime, and signing-key validation with trimmed clock skew, short-lived access tokens, and JsonWebTokenHandler-based minting on .NET 8+. - Policy-based authorization: named policies, custom requirements and authorization handlers, resource-based checks, and endpoint group protection via RequireAuthorization. - Use Case: When standing up a new REST API that needs sign-in, load this Skill to register JWT bearer with all validation flags on, mint 15-minute tokens from explicit claims, and gate admin routes behind a named CanPublish policy verified by integration tests. ## Quick Start Load the dotnet-authentication skill and help me wire JWT bearer authentication with a named authorization policy for my ASP.NET Core API.