IdentityX 1.3.1

dotnet add package IdentityX --version 1.3.1
                    
NuGet\Install-Package IdentityX -Version 1.3.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="IdentityX" Version="1.3.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="IdentityX" Version="1.3.1" />
                    
Directory.Packages.props
<PackageReference Include="IdentityX" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add IdentityX --version 1.3.1
                    
#r "nuget: IdentityX, 1.3.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package IdentityX@1.3.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=IdentityX&version=1.3.1
                    
Install as a Cake Addin
#tool nuget:?package=IdentityX&version=1.3.1
                    
Install as a Cake Tool

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

  1. Add the IdentityX services to your Startup.cs:

  2. Set the following environment variables:

    • Token_Issuer
    • Token_Audience
    • Token_Key
    • Api_Domain
    • FrontEnd_Domain
  3. 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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