AugusteVN.Modules.Auth.Features
1.0.0
See the version list below for details.
dotnet add package AugusteVN.Modules.Auth.Features --version 1.0.0
NuGet\Install-Package AugusteVN.Modules.Auth.Features -Version 1.0.0
<PackageReference Include="AugusteVN.Modules.Auth.Features" Version="1.0.0" />
<PackageVersion Include="AugusteVN.Modules.Auth.Features" Version="1.0.0" />
<PackageReference Include="AugusteVN.Modules.Auth.Features" />
paket add AugusteVN.Modules.Auth.Features --version 1.0.0
#r "nuget: AugusteVN.Modules.Auth.Features, 1.0.0"
#:package AugusteVN.Modules.Auth.Features@1.0.0
#addin nuget:?package=AugusteVN.Modules.Auth.Features&version=1.0.0
#tool nuget:?package=AugusteVN.Modules.Auth.Features&version=1.0.0
AugusteVN.Modules.Auth.Features
Shared CQRS handlers for authentication, roles, and user management. Handlers are generic over TUser and TRole types that implement IAuthUser and IAuthRole.
Generic Handlers
| Handler | Type Parameter | Constraint |
|---|---|---|
UpsertUserCommandHandler<TUser> |
TUser |
class, IAuthUser, new() |
UpdateUserInfoCommandHandler<TUser> |
TUser |
class, IAuthUser, new() |
DeleteUserCommandHandler<TUser> |
TUser |
class, IAuthUser, new() |
GetRolesForUserQueryHandler<TUser> |
TUser |
class, IAuthUser, new() |
CreateRoleCommandHandler<TRole> |
TRole |
class, IAuthRole, new() |
DeleteRoleCommandHandler<TRole> |
TRole |
class, IAuthRole, new() |
Query Records (Definition Only)
These record types are defined in _Shared so that API endpoints can reference them without depending on provider-specific projects. The actual handlers live in Auth.Features.EfCore and Auth.Features.Mongo.
| Record | Used By |
|---|---|
GetUsersQuery |
Auth.Features.EfCore, Auth.Features.Mongo |
GetRolesQuery |
Auth.Features.EfCore, Auth.Features.Mongo |
Registration
builder.Services.AddAuthFeaturesShared();
Installation
dotnet add package AugusteVN.Modules.Auth.Features._Shared
Full Documentation
See the Auth Module README for complete documentation.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- AugusteVN.CQRS.Extensions (>= 1.1.0)
- AugusteVN.Modules.Auth._Shared (>= 1.0.0)
- AugusteVN.Modules.Auth.Domain (>= 1.0.0)
- AugusteVN.ResultPattern.Contracts (>= 1.1.0)
- FluentValidation.DependencyInjectionExtensions (>= 11.11.0)
- Mapster (>= 10.0.10)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.0)
- Microsoft.Extensions.Identity.Core (>= 10.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AugusteVN.Modules.Auth.Features:
| Package | Downloads |
|---|---|
|
AugusteVN.Modules.Auth.Api
Minimal API endpoints for authentication, identity, roles, and user management |
GitHub repositories
This package is not used by any popular GitHub repositories.