WebMotions.Fake.Authentication.JwtBearer
6.1.0
.NET 6.0
Install-Package WebMotions.Fake.Authentication.JwtBearer -Version 6.1.0
dotnet add package WebMotions.Fake.Authentication.JwtBearer --version 6.1.0
<PackageReference Include="WebMotions.Fake.Authentication.JwtBearer" Version="6.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WebMotions.Fake.Authentication.JwtBearer --version 6.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: WebMotions.Fake.Authentication.JwtBearer, 6.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install WebMotions.Fake.Authentication.JwtBearer as a Cake Addin
#addin nuget:?package=WebMotions.Fake.Authentication.JwtBearer&version=6.1.0
// Install WebMotions.Fake.Authentication.JwtBearer as a Cake Tool
#tool nuget:?package=WebMotions.Fake.Authentication.JwtBearer&version=6.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
This code allow to fake a Jwt Bearer and build integration test for ASP.Net Core application.
Using this way we can fake any authentication we need, without the need to really authenticate a user.
Product | Versions |
---|---|
.NET | net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Microsoft.Extensions.Options (>= 6.0.0)
- Newtonsoft.Json (>= 13.0.1)
- System.IdentityModel.Tokens.Jwt (>= 6.17.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on WebMotions.Fake.Authentication.JwtBearer:
Package | Downloads |
---|---|
Calzolari.TestServer.EntityFramework
Custom factory and extensions that facilitates integration testing with EF Core. The TestServer client uses Flurl for fluent API calls and cleaner integration tests |
GitHub repositories
This package is not used by any popular GitHub repositories.