Apigen.Keycloak.Admin.Client
26.5.6
dotnet add package Apigen.Keycloak.Admin.Client --version 26.5.6
NuGet\Install-Package Apigen.Keycloak.Admin.Client -Version 26.5.6
<PackageReference Include="Apigen.Keycloak.Admin.Client" Version="26.5.6" />
<PackageVersion Include="Apigen.Keycloak.Admin.Client" Version="26.5.6" />
<PackageReference Include="Apigen.Keycloak.Admin.Client" />
paket add Apigen.Keycloak.Admin.Client --version 26.5.6
#r "nuget: Apigen.Keycloak.Admin.Client, 26.5.6"
#:package Apigen.Keycloak.Admin.Client@26.5.6
#addin nuget:?package=Apigen.Keycloak.Admin.Client&version=26.5.6
#tool nuget:?package=Apigen.Keycloak.Admin.Client&version=26.5.6
Apigen.Keycloak.Admin
Generated C# client for the Keycloak Admin REST API.
Installation
dotnet add package Apigen.Keycloak.Admin.Client
The Apigen.Keycloak.Admin.Models package is included as a dependency.
Usage
using System.Net.Http.Headers;
using Apigen.Keycloak.Admin.Client;
using Apigen.Keycloak.Admin.Models;
// Configure an HttpClient with Bearer token authentication
var httpClient = new HttpClient
{
BaseAddress = new Uri("https://your-keycloak-instance/admin/realms")
};
httpClient.DefaultRequestHeaders.Authorization =
new AuthenticationHeaderValue("Bearer", "your-access-token");
var client = new KeycloakAdminClient(httpClient);
Tip: Keycloak uses OAuth2 for authentication. Use a library like IdentityModel to obtain an access token via client credentials, then pass it as a Bearer token.
Versioning
Package versions follow the upstream application version: the major.minor matches the application API version, and the patch is our client revision. For example, package 2.6.7 was built against API version 2.6.x and is our 7th client release for that API version.
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.