![]() |
VOOZH | about |
dotnet add package Spiderly.Security --version 19.8.6
NuGet\Install-Package Spiderly.Security -Version 19.8.6
<PackageReference Include="Spiderly.Security" Version="19.8.6" />
<PackageVersion Include="Spiderly.Security" Version="19.8.6" />Directory.Packages.props
<PackageReference Include="Spiderly.Security" />Project file
paket add Spiderly.Security --version 19.8.6
#r "nuget: Spiderly.Security, 19.8.6"
#:package Spiderly.Security@19.8.6
#addin nuget:?package=Spiderly.Security&version=19.8.6Install as a Cake Addin
#tool nuget:?package=Spiderly.Security&version=19.8.6Install as a Cake Tool
Spiderly.Security package provides authentication and authorization features using JWT tokens.
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>
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);
}
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 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
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. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 19.8.6 | 35 | 6/18/2026 |
| 19.8.5 | 58 | 6/17/2026 |
| 19.8.4 | 110 | 6/12/2026 |
| 19.8.3 | 142 | 5/30/2026 |
| 19.8.2 | 115 | 5/19/2026 |
| 19.8.1 | 122 | 5/13/2026 |
| 19.8.0 | 118 | 5/10/2026 |
| 19.7.9 | 125 | 5/9/2026 |
| 19.7.8 | 134 | 5/9/2026 |
| 19.7.7 | 122 | 4/28/2026 |
| 19.7.6 | 127 | 4/24/2026 |
| 19.7.5 | 123 | 4/20/2026 |
| 19.7.4 | 107 | 4/20/2026 |
| 19.7.3 | 133 | 4/16/2026 |
| 19.7.2 | 124 | 4/10/2026 |
| 19.7.1 | 129 | 4/5/2026 |
| 19.7.0 | 122 | 4/3/2026 |
| 19.6.7 | 137 | 3/30/2026 |
| 19.6.6 | 121 | 3/27/2026 |
| 19.6.5 | 123 | 3/26/2026 |