Spiderly.Security
19.6.3
dotnet add package Spiderly.Security --version 19.6.3
NuGet\Install-Package Spiderly.Security -Version 19.6.3
<PackageReference Include="Spiderly.Security" Version="19.6.3" />
<PackageVersion Include="Spiderly.Security" Version="19.6.3" />
<PackageReference Include="Spiderly.Security" />
paket add Spiderly.Security --version 19.6.3
#r "nuget: Spiderly.Security, 19.6.3"
#:package Spiderly.Security@19.6.3
#addin nuget:?package=Spiderly.Security&version=19.6.3
#tool nuget:?package=Spiderly.Security&version=19.6.3
Spiderly.Security
Spiderly.Security package provides authentication and authorization features using JWT tokens.
UI
When used in combination with our Angular library, you can achieve a UI like this:
<div> <img src="https://github.com/filiptrivan/spiderly/blob/main/spiderly-login-demo.png" alt="Spiderly Login Demo UI"/> </div>
Customization
Controller
If you want to override some of the Security library controller's behavior, you can do so in your controller (e.g., SecurityController), which extends our SecurityBaseController, like this:
[HttpPost]
public override async Task<AuthResultDTO> Login(VerificationTokenRequestDTO request)
{
// Your custom code...
return _securityService.Login(request);
}
Authorization
If you want to override some of the Security library authorization's behavior, you can do so in your authorization business service (e.g. AuthorizationService), which extends our AuthorizationServiceGenerated, like this:
public override async Task AuthorizeUserExtendedReadAndThrow(long? userExtendedId)
{
await _context.WithTransactionAsync(async () =>
{
bool hasAdminReadPermission = await IsAuthorizedAsync<UserExtended>(PermissionCodes.ReadUserExtended);
bool isCurrentUser = _authenticationService.GetCurrentUserId() == userExtendedId;
if (isCurrentUser == false && hasAdminReadPermission == false)
throw new UnauthorizedException();
});
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. 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. |
-
net9.0
- BCrypt.Net-Next (>= 4.0.3)
- Google.Apis.Auth (>= 1.68.0)
- LinqKit.Core (>= 1.2.5)
- Mapster (>= 7.4.0)
- Microsoft.EntityFrameworkCore.SqlServer (>= 9.0.1)
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 10.0.1)
- Riok.Mapperly (>= 3.5.1)
- Spiderly.Shared (>= 19.6.3)
- System.IdentityModel.Tokens.Jwt (>= 7.3.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Spiderly.Security:
| Package | Downloads |
|---|---|
|
Spiderly.Infrastructure
Spiderly.Infrastructure is built on EF Core and offers features such as optimistic concurrency control, customizable table and column naming, and extensions for simplified database configuration. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 19.6.3 | 39 | 3/20/2026 |
| 19.6.2 | 37 | 3/19/2026 |
| 19.6.1 | 38 | 3/17/2026 |
| 19.6.0 | 133 | 3/13/2026 |
| 19.5.4-preview.3 | 70 | 2/27/2026 |
| 19.5.4-preview.2 | 76 | 2/11/2026 |
| 19.5.4-preview.1 | 59 | 2/11/2026 |
| 19.5.4-preview.0 | 64 | 2/6/2026 |
| 19.5.3 | 133 | 1/24/2026 |
| 19.5.2 | 110 | 1/23/2026 |
| 19.5.1 | 108 | 1/23/2026 |
| 19.5.1-preview.0 | 56 | 1/23/2026 |
| 19.5.0 | 124 | 1/15/2026 |
| 19.4.0-preview.1 | 65 | 1/15/2026 |
| 19.4.0-preview.0 | 74 | 12/27/2025 |
| 19.3.1 | 764 | 12/3/2025 |
| 19.3.0 | 387 | 11/30/2025 |
| 19.3.0-preview.0 | 322 | 11/30/2025 |
| 19.2.0 | 245 | 7/1/2025 |
| 19.2.0-preview | 204 | 7/1/2025 |