dotnet-api-auth
OfficialSecure ASP.NET Core APIs with robust auth.
Authormedride
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Authentication and authorization for ASP.NET Core Web APIs, consolidating common patterns (JWT, API keys, policies) to simplify securing endpoints and resources.
Core Features & Use Cases
- JWT Bearer authentication with issuer, audience, and key validation
- API Key authentication via middleware
- Policy-based authorization with roles and claims
- Resource-based authorization with custom handlers and endpoint guards
- Claims, roles, and token generation for protected APIs
- CORS configuration to support cross-origin API access
Quick Start
Configure the JWT authentication in Program.cs and register authorization, then protect endpoints using policies.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: dotnet-api-auth Download link: https://github.com/medride/claude-code-research/archive/main.zip#dotnet-api-auth Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.