![]() |
VOOZH | about |
dotnet add package Rystem.Api.Client.Authentication.BlazorServer --version 9.0.28
NuGet\Install-Package Rystem.Api.Client.Authentication.BlazorServer -Version 9.0.28
<PackageReference Include="Rystem.Api.Client.Authentication.BlazorServer" Version="9.0.28" />
<PackageVersion Include="Rystem.Api.Client.Authentication.BlazorServer" Version="9.0.28" />Directory.Packages.props
<PackageReference Include="Rystem.Api.Client.Authentication.BlazorServer" />Project file
paket add Rystem.Api.Client.Authentication.BlazorServer --version 9.0.28
#r "nuget: Rystem.Api.Client.Authentication.BlazorServer, 9.0.28"
#:package Rystem.Api.Client.Authentication.BlazorServer@9.0.28
#addin nuget:?package=Rystem.Api.Client.Authentication.BlazorServer&version=9.0.28Install as a Cake Addin
#tool nuget:?package=Rystem.Api.Client.Authentication.BlazorServer&version=9.0.28Install as a Cake Tool
You can add a client for a specific url
builder.Services.AddRepository<User, string>(builder =>
{
builder
.WithApiClient()
.WithHttpClient("localhost:7058");
});
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>();
});
Remember to add
builder.Services.AddAuthentication(OpenIdConnectDefaults.AuthenticationScheme)
.AddMicrosoftIdentityWebApp(builder.Configuration.GetSection("AzureAdB2C or AzureAd"))
.EnableTokenAcquisitionToCallDownstreamApi(new string[] { "your_scope/access_as_user" })
.AddInMemoryTokenCaches();
builder.Services.AddServerSideBlazor()
.AddMicrosoftIdentityConsentHandler();
builder.Services.AddControllersWithViews()
.AddMicrosoftIdentityUI();
| 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. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.8 | 5,498 | 5/13/2026 |
| 10.0.7 | 140 | 3/26/2026 |
| 10.0.6 | 433,562 | 3/3/2026 |
| 10.0.5 | 144 | 2/22/2026 |
| 10.0.4 | 141 | 2/9/2026 |
| 10.0.3 | 147,934 | 1/28/2026 |
| 10.0.1 | 209,120 | 11/12/2025 |
| 9.1.3 | 285 | 9/2/2025 |
| 9.1.2 | 764,528 | 5/29/2025 |
| 9.1.1 | 97,871 | 5/2/2025 |
| 9.0.32 | 186,731 | 4/15/2025 |
| 9.0.31 | 5,874 | 4/2/2025 |
| 9.0.30 | 88,833 | 3/26/2025 |
| 9.0.29 | 9,079 | 3/18/2025 |
| 9.0.28 | 286 | 3/17/2025 |
| 9.0.27 | 275 | 3/16/2025 |
| 9.0.26 | 289 | 3/13/2025 |
| 9.0.25 | 52,180 | 3/9/2025 |
| 9.0.20 | 19,644 | 3/6/2025 |
| 9.0.19 | 359 | 3/6/2025 |