Hexalith.DaprIdentityStore.UI
0.3.0
dotnet add package Hexalith.DaprIdentityStore.UI --version 0.3.0
NuGet\Install-Package Hexalith.DaprIdentityStore.UI -Version 0.3.0
<PackageReference Include="Hexalith.DaprIdentityStore.UI" Version="0.3.0" />
paket add Hexalith.DaprIdentityStore.UI --version 0.3.0
#r "nuget: Hexalith.DaprIdentityStore.UI, 0.3.0"
// Install Hexalith.DaprIdentityStore.UI as a Cake Addin #addin nuget:?package=Hexalith.DaprIdentityStore.UI&version=0.3.0 // Install Hexalith.DaprIdentityStore.UI as a Cake Tool #tool nuget:?package=Hexalith.DaprIdentityStore.UI&version=0.3.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
- Hexalith.DaprIdentityStore (>= 0.3.0)
- Hexalith.DaprIdentityStore.Abstractions (>= 0.3.0)
- Hexalith.UI.Components (>= 1.0.40)
- Microsoft.AspNetCore.Components.WebAssembly.Server (>= 9.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Hexalith.DaprIdentityStore.UI:
Package | Downloads |
---|---|
Hexalith.Security.WebServer
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.