Solidus.Middleware.Authentication
0.1.0
dotnet add package Solidus.Middleware.Authentication --version 0.1.0
NuGet\Install-Package Solidus.Middleware.Authentication -Version 0.1.0
<PackageReference Include="Solidus.Middleware.Authentication" Version="0.1.0" />
<PackageVersion Include="Solidus.Middleware.Authentication" Version="0.1.0" />
<PackageReference Include="Solidus.Middleware.Authentication" />
paket add Solidus.Middleware.Authentication --version 0.1.0
#r "nuget: Solidus.Middleware.Authentication, 0.1.0"
#:package Solidus.Middleware.Authentication@0.1.0
#addin nuget:?package=Solidus.Middleware.Authentication&version=0.1.0
#tool nuget:?package=Solidus.Middleware.Authentication&version=0.1.0
Solidus.Middleware.Authentication
The middleware that handles authentication scenarios.
NuGet Package
dotnet add package Solidus.Middleware.Authentication
Provided API
Account Sign Up :
POST /account/sign-upRequestbody:{ "name": "string", "password": "string", "rememberMe": "boolean", "metadata": { "key": "value", ... } }Account Sign In :
POST /account/sign-upRequestbody:{ "name": "string", "password": "string", "rememberMe": "boolean" }Session Sign Out :
POST /sign-outSession Status :
GET /statusResponsebody:{ "claims": { "type": "value", ... } }
Service registrations
Namespace:
Solidus.Middleware.Authentication
AuthenticationBuilder.AddSolidus() - Registers Solidus authentication
IMvcBuilder.AddSolidusAuthenticationControllers - Registers authentication API controllers
Endpoint registrations
Namespace:
Solidus.Middleware.Authentication
IEndpointRouteBuilder.MapSolidusAuthenticationStatusAction - Maps /status route that provides current session information
IEndpointRouteBuilder.MapSolidusAuthenticationSignOutAction - Maps /sign-out route that signs out of authenticated session
Namespace:
Solidus.Middleware.Authentication.Account
IEndpointRouteBuilder.MapSolidusAccountSignInAction - Maps /account/sign-in route that is responsible of logging in to account
IEndpointRouteBuilder.MapSolidusAccountSignUpAction - Maps /account/sign-up route that is responsible of creating a new account
Authentication Abstractions
Namespace:
Solidus.Middleware.Authentication
IAuthenticationService - Authentication session management
Namespace:
Solidus.Middleware.Authentication.Account
IAccountClaimsFactory - Authenticated account claims factory
IAccountPasswordHasher - Password hashing and validation
IAccountProvider - An account data provider
IAccountService - An account management
IAccountStorage - An account storage
Example usage
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- Microsoft.EntityFrameworkCore (>= 8.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0 | 575 | 2/27/2024 |