VOOZH about

URL: https://www.nuget.org/packages/Spiderly.Security/

⇱ NuGet Gallery | Spiderly.Security 19.8.6




👁 Image
Spiderly.Security 19.8.6

dotnet add package Spiderly.Security --version 19.8.6
 
 
NuGet\Install-Package Spiderly.Security -Version 19.8.6
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Spiderly.Security" Version="19.8.6" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Spiderly.Security" Version="19.8.6" />
 
Directory.Packages.props
<PackageReference Include="Spiderly.Security" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Spiderly.Security --version 19.8.6
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Spiderly.Security, 19.8.6"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Spiderly.Security@19.8.6
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Spiderly.Security&version=19.8.6
 
Install as a Cake Addin
#tool nuget:?package=Spiderly.Security&version=19.8.6
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.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
Loading failed