aspnetcore-authorization

Official

Secure ASP.NET Core with policy- & scope-based auth.

AuthorDuendeSoftware
Version1.0.0
Installs0

System Documentation

What problem does it solve?

ASP.NET Core applications often require complex authorization logic spanning policies, scopes, resources, and minimal APIs. This Skill provides proven patterns to implement robust access control.

Core Features & Use Cases

  • Policy-based authorization with customizable requirements and handlers.
  • Scope-based and claims-based checks for APIs using OAuth/OIDC.
  • Resource-based authorization with IAuthorizationService for per-resource decisions.
  • Minimal API and group-level patterns with safe defaults.
  • Guidance on avoiding hard-coded roles and ensuring authentication/authorization separation.

Quick Start

Configure policy-based and scope-based authorization in ASP.NET Core applications to protect endpoints.

Dependency Matrix

Required Modules

None required

Components

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: aspnetcore-authorization
Download link: https://github.com/DuendeSoftware/duende-skills/archive/main.zip#aspnetcore-authorization

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.