authentication-authorization-patterns

Community

Secure auth for .NET apps.

Authoralexsandrocruz
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers and teams implement secure, scalable authentication and authorization patterns in .NET applications, reducing security risks and boilerplate code.

Core Features & Use Cases

  • OAuth 2.0 / OpenID Connect integration: Setup and configure modern login flows for web and API services.
  • JWT issuance and validation: Create and verify access tokens with proper claims and lifetimes.
  • RBAC and Claims-based Authorization: Enforce fine-grained access using roles and claims across APIs.
  • Refresh token rotation and token lifecycle: Improve security with rotating refresh tokens and policy-driven expiry.
  • Policy-based authorization and MFA patterns: Implement custom policies and multi-factor authentication workflows.
  • Use Case: Secure a healthcare API with Admin/Doctor roles and patient data access restrictions.

Quick Start

Configure OpenIddict in your ASP.NET Core service, define roles and policies, and integrate token generation and validation following the patterns described above.

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: authentication-authorization-patterns
Download link: https://github.com/alexsandrocruz/DominusLeads/archive/main.zip#authentication-authorization-patterns

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 223,000+ vetted skills library on demand.