Hexalith.DaprIdentityStore.Abstractions 1.51.17

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

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

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.
  • net9.0

    • No dependencies.

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
1.51.18 38 12/22/2024
1.51.17 48 12/20/2024
1.51.15 84 12/17/2024
1.51.14 82 12/16/2024
1.51.9 101 12/15/2024
1.51.7 104 12/15/2024
1.0.0 104 12/15/2024
0.8.0 146 12/7/2024
0.4.0 164 11/26/2024
0.3.0 222 11/25/2024
0.2.0 116 11/23/2024
0.1.0 97 11/20/2024