![]() |
VOOZH | about |
dotnet add package MudraX.Blazor.Keycloak.Web --version 9.0.0.5
NuGet\Install-Package MudraX.Blazor.Keycloak.Web -Version 9.0.0.5
<PackageReference Include="MudraX.Blazor.Keycloak.Web" Version="9.0.0.5" />
<PackageVersion Include="MudraX.Blazor.Keycloak.Web" Version="9.0.0.5" />Directory.Packages.props
<PackageReference Include="MudraX.Blazor.Keycloak.Web" />Project file
paket add MudraX.Blazor.Keycloak.Web --version 9.0.0.5
#r "nuget: MudraX.Blazor.Keycloak.Web, 9.0.0.5"
#:package MudraX.Blazor.Keycloak.Web@9.0.0.5
#addin nuget:?package=MudraX.Blazor.Keycloak.Web&version=9.0.0.5Install as a Cake Addin
#tool nuget:?package=MudraX.Blazor.Keycloak.Web&version=9.0.0.5Install as a Cake Tool
MudraX.Blazor.Keycloak.Web is the library for the MudraX.Blazor project, designed to provide essential functionalities and shared logic for the entire application ecosystem. This library is built with .NET 9 and is optimized for modern cross-platform development.
To install the library, use the following NuGet command:
Install-Package MudraX.Blazor.Keycloak.Web
{
"Keycloak": {
"realm": "<realm name>",
"auth-server-url": "http://localhost:8080/",
"ssl-required": "none",
"resource": "<client name>",
"credentials": {
"secret": "<client-secret>"
},
"confidential-port": 0
}
}
builder.Services.AddMudraBlazorServices(supportedCultures: ["en-US", "zh-TW"]);
builder.Services.AddMudraKeycloakServices(builder.Configuration);
app.UseMudraBlazorServices();
app.UseMudraKeycloakServices();
Global setting that protects ALL the pages in _Imports.razor
@using Microsoft.AspNetCore.Authorization
@using Microsoft.AspNetCore.Components.Authorization
@attribute [Authorize]
...
@using MudraX.Blazor.Keycloak.Web.Components.Layout
Add AppUserMenu to MainLayout.razor
<ApplicationLayout>
<ApplcationBar>
<AppUserMenu />
</ApplcationBar>
Contributions are welcome! Please follow the to submit issues or pull requests.
This project is licensed under the .
| 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.