Hexalith.DaprIdentityStore.Abstractions
1.0.0
See the version list below for details.
dotnet add package Hexalith.DaprIdentityStore.Abstractions --version 1.0.0
NuGet\Install-Package Hexalith.DaprIdentityStore.Abstractions -Version 1.0.0
<PackageReference Include="Hexalith.DaprIdentityStore.Abstractions" Version="1.0.0" />
paket add Hexalith.DaprIdentityStore.Abstractions --version 1.0.0
#r "nuget: Hexalith.DaprIdentityStore.Abstractions, 1.0.0"
// Install Hexalith.DaprIdentityStore.Abstractions as a Cake Addin #addin nuget:?package=Hexalith.DaprIdentityStore.Abstractions&version=1.0.0 // Install Hexalith.DaprIdentityStore.Abstractions as a Cake Tool #tool nuget:?package=Hexalith.DaprIdentityStore.Abstractions&version=1.0.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 systemApplicationUserClaim
: Represents user claimsApplicationUserLogin
: Manages external login providersApplicationUserToken
: 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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. |
-
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.