Introduction
Moka.Auth is a flexible and comprehensive authentication/authorization library for .NET 8 applications. It provides a unified interface for multiple authentication providers while maintaining simplicity and ease of use.
Key Features
-
Multiple Authentication Providers
- JWT (JSON Web Tokens)
- Cookie-based authentication
- OpenID Connect
- API Key authentication
-
Role-Based Access Control (RBAC)
- Fine-grained permission system
- Role management
- User-role assignments
-
Easy Integration
- Simple configuration through appsettings.json
- Fluent API for programmatic configuration
- Built-in ASP.NET Core middleware integration
-
Extensible Architecture
- Custom authentication provider support
- Pluggable storage providers
- Event-based system for authentication/authorization events
Getting Started
To get started with Moka.Auth, visit our Installation guide followed by the Quick Start tutorial.