Hexalith.DaprIdentityStore.Abstractions 0.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Hexalith.DaprIdentityStore.Abstractions --version 0.1.0                
NuGet\Install-Package Hexalith.DaprIdentityStore.Abstractions -Version 0.1.0                
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="Hexalith.DaprIdentityStore.Abstractions" Version="0.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Hexalith.DaprIdentityStore.Abstractions --version 0.1.0                
#r "nuget: Hexalith.DaprIdentityStore.Abstractions, 0.1.0"                
#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.
// Install Hexalith.DaprIdentityStore.Abstractions as a Cake Addin
#addin nuget:?package=Hexalith.DaprIdentityStore.Abstractions&version=0.1.0

// Install Hexalith.DaprIdentityStore.Abstractions as a Cake Tool
#tool nuget:?package=Hexalith.DaprIdentityStore.Abstractions&version=0.1.0                

Hexalith.DaprIdentityStore.Abstractions

Overview

Hexalith.DaprIdentityStore.Abstractions is a core library that provides abstractions and models for implementing distributed identity management using Dapr Actors. This library enables scalable and reliable user identity management in distributed applications.

Architecture

The library is structured into several key components:

Actor System

IUserIdentityActor

The core actor interface that handles user identity operations:

  • User creation and management
  • Password management
  • Claims and roles handling
  • Authentication token management
Actor States
  • UserActorState: Maintains the actor's internal state including:
    • User profile information
    • Security stamps
    • Authentication tokens
    • Claims and roles

Models

Core Identity Models
  • UserIdentity: The primary user identity model containing:
    • Basic user information (Id, Username, Email)
    • Security information (PasswordHash, SecurityStamp)
    • Two-factor authentication settings
    • Lockout settings
Authentication Models
  • ApplicationRole: Represents user roles in the system
  • ApplicationUserClaim: Represents user claims
  • ApplicationUserLogin: Manages external login providers
  • ApplicationUserToken: Handles authentication tokens

Helpers

DaprIdentityStoreActorProxyHelper

Provides utility methods for:

  • Actor proxy creation and management
  • Actor communication helpers
  • State management utilities

Error Handling

HexalithIdentityErrorDescriber

Provides standardized error descriptions for common identity operations:

  • Authentication failures
  • Password validation
  • User validation
  • Role and claim operations

Usage

Basic Setup

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Hexalith.DaprIdentityStore.Abstractions:

Package Downloads
Hexalith.DaprIdentityStore

Hexalith is a set of libraries to build a micro-service architecture.

Hexalith.DaprIdentityStore.UI

Hexalith is a set of libraries to build a micro-service architecture.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.2.0 12 11/23/2024
0.1.0 43 11/20/2024