IdentityX 1.3.1
dotnet add package IdentityX --version 1.3.1
NuGet\Install-Package IdentityX -Version 1.3.1
<PackageReference Include="IdentityX" Version="1.3.1" />
<PackageVersion Include="IdentityX" Version="1.3.1" />
<PackageReference Include="IdentityX" />
paket add IdentityX --version 1.3.1
#r "nuget: IdentityX, 1.3.1"
#:package IdentityX@1.3.1
#addin nuget:?package=IdentityX&version=1.3.1
#tool nuget:?package=IdentityX&version=1.3.1
IdentityX
IdentityX is a powerful and flexible identity management package for .NET 9 applications. It provides a comprehensive set of features to manage user authentication, authorization, and user profiles with ease.
Features
- User Authentication: Securely authenticate users using various methods including password, OAuth, and multi-factor authentication.
- Authorization: Fine-grained control over user permissions and roles.
- User Profiles: Manage user profile information and preferences.
- Security: Built-in support for encryption, hashing, and secure storage of sensitive data.
- Extensibility: Easily extend and customize the package to fit your specific needs.
Installation
To install IdentityX, run the following command in your .NET 9 project:
dotnet add package IdentityX
Getting Started
Configuration
Add the IdentityX services to your
Startup.cs:Set the following environment variables:
- Token_Issuer
- Token_Audience
- Token_Key
- Api_Domain
- FrontEnd_Domain
Implement the service definitions for IEmailService & IDataService
Usage
User Authentication
To authenticate a user, use the SignInManager:
var result = await signInManager.PasswordSignInAsync(username, password, isPersistent, lockoutOnFailure); if (result.Succeeded) { // User authenticated successfully } else { // Authentication failed }
User Authorization
To check if a user is in a specific role:
if (await userManager.IsInRoleAsync(user, "Admin")) { // User is an admin } else { // User is not an admin }
Contributing
We welcome contributions to IdentityX! Please read our contributing guidelines for more information.
License
IdentityX is licensed under the MIT License.
Contact
For any questions or issues, please open an issue on our [GitHub
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 9.0.0)
- Microsoft.Extensions.Configuration (>= 9.0.0)
- Microsoft.IdentityModel.Tokens (>= 8.2.1)
- Newtonsoft.Json (>= 13.0.3)
- System.IdentityModel.Tokens.Jwt (>= 8.2.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.3.1 | 192 | 6/2/2025 |
| 1.3.0 | 245 | 1/8/2025 |
| 1.2.9 | 119 | 1/7/2025 |
| 1.2.8 | 127 | 12/28/2024 |
| 1.2.7 | 111 | 12/28/2024 |
| 1.2.6 | 110 | 12/28/2024 |
| 1.2.5 | 136 | 12/14/2024 |
| 1.2.4 | 123 | 12/14/2024 |
| 1.2.3 | 140 | 12/12/2024 |
| 1.2.2 | 122 | 12/9/2024 |
| 1.2.1 | 119 | 12/9/2024 |
| 1.2.0 | 130 | 12/2/2024 |
| 1.1.0 | 125 | 11/30/2024 |
| 1.0.0 | 128 | 11/30/2024 |
Fixed issue with Phone Number Management