A comprehensive collection of ASP.NET Core libraries for identity management, authentication, authorization, and security. This repository contains three key modules: Federation, Identity, and Security.
Your one-stop solution for robust, flexible, and secure Authentication and Authorization in ASP.NET Core. It's not just a framework, it's your trusted partner for crafting seamless OAuth 2.1 and OpenID Connect integrations.
In the interconnected world of web services, managing authentication and authorization can be daunting. But not with Federation. This library goes beyond the basics, offering a flexible permission
policy that tailors security to your application's unique needs.
Federation provides comprehensive support for Json Web Tokens (JWT) and external authentication providers. It elegantly handles user authentication and consent, ensuring your users' data is secure
while providing a seamless login experience.
Planned Features:
- General
- Json Web Token (Jwt)
- Authentication
- Handle user authentication/consent
- External authentication provider
- Authorization
- Authorization Code Grant with PKCE
- Client Credentials Grant
- Refresh Token Flow
- Identity Model Structure
- Identity User
- Identity Role
- Identity Client
- Identity Resource
- Identity Scope
- Identity Directory
- Identity Group
- Identity Permission
- Identity Tenant
Your Go-To Collection for OpenID Connect & OAuth 2 Models in ASP.NET Core. It's not just a collection of helper models, it's your secret weapon for simplifying the complex world of authentication and authorization.
The Identity collection has been painstakingly curated to provide developers with the most useful and relevant models for implementing OpenID Connect and OAuth 2 protocols. Each model has been
designed with flexibility and ease-of-use in mind, allowing you to focus on crafting secure, robust, and user-friendly authentication and authorization systems.
The power of Identity comes from its versatility. Whether you're building an enterprise-level application with intricate security requirements, or a small personal project, Identity can adapt to
your needs.
An innovative extension to the native ASP.NET Core Security, engineered to bring advanced, robust features to better secure your applications.
In the digital era, the safety of your applications is not just a best practice, it's a crucial necessity. With the rise of cyber threats and data breaches, it's imperative to have a security solution that's not just strong, but also adaptable and forward-thinking.
Security is a powerful library that enriches the native ASP.NET Core Security with additional capabilities, providing a more comprehensive and proactive security solution for your applications. Our
mission is to provide a sturdy security foundation, ensuring your applications stand resilient against evolving threats.
| Package | NuGet |
|---|---|
| Authentication | |
| Authorization | |
| Core |
Install the packages you need:
dotnet add package Wangkanai.Federation
dotnet add package Wangkanai.Identity
dotnet add package Wangkanai.Securitybuilder.Services.AddFederation();builder.Services.AddIdentity<IdentityUser, IdentityRole>()
.AddWangkanaiIdentity();builder.Services.AddSecurity();For detailed documentation, examples, and API reference, please visit:
- Federation: Documentation
- Identity: Documentation
- Security: Documentation
We welcome contributions! Please feel free to:
- Report bugs or request features via Issues
- Submit pull requests for improvements
- Help improve documentation
If these libraries have made your development work easier, please consider:
- ⭐ Star this repository on GitHub
- 💰 Support us on Open Collective or Patreon
- 📢 Share with other developers
This project is licensed under the Apache-2.0 License - see the LICENSE file for details.
- Sarin Na Wangkanai - Initial work - @wangkanai
© 2014-2025 Sarin Na Wangkanai, All rights reserved