Rystem.Api.Client.Authentication.BlazorWasm 9.0.3

dotnet add package Rystem.Api.Client.Authentication.BlazorWasm --version 9.0.3                
NuGet\Install-Package Rystem.Api.Client.Authentication.BlazorWasm -Version 9.0.3                
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="Rystem.Api.Client.Authentication.BlazorWasm" Version="9.0.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Rystem.Api.Client.Authentication.BlazorWasm --version 9.0.3                
#r "nuget: Rystem.Api.Client.Authentication.BlazorWasm, 9.0.3"                
#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.
// Install Rystem.Api.Client.Authentication.BlazorWasm as a Cake Addin
#addin nuget:?package=Rystem.Api.Client.Authentication.BlazorWasm&version=9.0.3

// Install Rystem.Api.Client.Authentication.BlazorWasm as a Cake Tool
#tool nuget:?package=Rystem.Api.Client.Authentication.BlazorWasm&version=9.0.3                

What is Rystem?

Services extensions

HttpClient to use your API (example)

You can add a client for a specific url

builder.Services.AddRepository<User, string>(builder =>
{
    builder
        .WithApiClient()
        .WithHttpClient("localhost:7058");
});

Default interceptor for Authentication with JWT

You may use the default interceptor to deal with the identity manager in .Net DI.

builder.Services.AddDefaultAuthorizationInterceptorForApiHttpClient();

This line of code inject an interceptor that works with ITokenAcquisition, injected by the framework during OpenId integration (for example AAD integration). Automatically it adds the token to each request.

You may use the default identity interceptor not on all repositories, you can specificy them with

builder.Services.AddRepository(builder => {
    builder
        .WithApiClient()
        .WithHttpClient("localhost:7058")
        .AddDefaultAuthorizationInterceptorForApiHttpClient<T, TKey>();
});
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
9.0.3 35 12/22/2024
9.0.2 2,751 12/21/2024
9.0.1 1,064 12/21/2024
9.0.0 172,918 11/16/2024
9.0.0-rc.1 77 10/18/2024
6.2.0 218,962 10/10/2024
6.1.1 98 10/9/2024
6.1.0 47,844 9/29/2024
6.0.24 107 9/11/2024
6.0.23 340,040 7/18/2024
6.0.21 116 6/18/2024
6.0.20 727,583 6/16/2024
6.0.19 30,355 6/14/2024
6.0.18 106 6/14/2024
6.0.17 103 6/14/2024
6.0.16 49,957 6/10/2024
6.0.15 97 6/9/2024
6.0.14 94,253 5/24/2024
6.0.13 110 5/23/2024
6.0.12 84 5/23/2024
6.0.11 110 5/20/2024
6.0.9 120 5/20/2024
6.0.7 115 5/18/2024
6.0.6 104 5/13/2024
6.0.5 127 5/10/2024
6.0.4 549,678 4/3/2024
6.0.3 124 3/25/2024
6.0.2 393,340 3/11/2024
6.0.0 1,170,012 11/21/2023
6.0.0-rc.6 107 10/25/2023
6.0.0-rc.5 84 10/25/2023
6.0.0-rc.4 80 10/23/2023
6.0.0-rc.3 77 10/19/2023
6.0.0-rc.2 86 10/18/2023