Rystem.RepositoryFramework.Api.Client.Authentication.BlazorWasm 6.0.13

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

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

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 net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
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.0 28,582 11/16/2024
9.0.0-rc.1 75 10/18/2024
6.2.0 219,007 10/10/2024
6.1.1 86 10/9/2024
6.1.0 47,867 9/29/2024
6.0.24 102 9/11/2024
6.0.23 98 7/18/2024
6.0.21 96 6/18/2024
6.0.20 116 6/16/2024
6.0.19 107 6/14/2024
6.0.18 116 6/14/2024
6.0.17 113 6/14/2024
6.0.16 94 6/10/2024
6.0.15 104 6/9/2024
6.0.14 109 5/24/2024
6.0.13 117 5/23/2024
6.0.12 95 5/23/2024
6.0.11 105 5/20/2024
6.0.9 106 5/20/2024
6.0.7 93 5/18/2024
6.0.6 107 5/13/2024
6.0.5 106 5/10/2024
6.0.4 112 4/3/2024
6.0.3 121 3/25/2024
6.0.2 116 3/11/2024
6.0.0 243 11/21/2023
6.0.0-rc.6 100 10/25/2023
6.0.0-rc.5 84 10/25/2023
6.0.0-rc.4 70 10/23/2023
6.0.0-rc.3 68 10/19/2023
6.0.0-rc.2 74 10/18/2023
6.0.0-rc.1 72 10/16/2023
5.0.20 180 9/25/2023
5.0.19 187 9/10/2023
5.0.18 152 9/6/2023
5.0.17 149 9/6/2023
5.0.16 192 9/5/2023
5.0.15 156 9/5/2023
5.0.14 164 9/5/2023
5.0.13 153 9/1/2023
5.0.12 146 8/31/2023
5.0.11 127 8/30/2023
5.0.10 169 8/29/2023
5.0.9 189 8/24/2023
5.0.8 163 8/24/2023
5.0.7 168 8/23/2023