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
                    
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="Apigen.Keycloak.Admin.Client" Version="26.5.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Apigen.Keycloak.Admin.Client" Version="26.5.6" />
                    
Directory.Packages.props
<PackageReference Include="Apigen.Keycloak.Admin.Client" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Apigen.Keycloak.Admin.Client --version 26.5.6
                    
#r "nuget: Apigen.Keycloak.Admin.Client, 26.5.6"
                    
#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.
#:package Apigen.Keycloak.Admin.Client@26.5.6
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Apigen.Keycloak.Admin.Client&version=26.5.6
                    
Install as a Cake Addin
#tool nuget:?package=Apigen.Keycloak.Admin.Client&version=26.5.6
                    
Install as a Cake Tool

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 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. 
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
26.5.6 96 4/1/2026
26.5.5 88 4/1/2026
26.5.4 92 3/29/2026
26.5.3 148 3/28/2026
26.5.2 117 3/28/2026
26.5.1 117 3/28/2026
26.5.0 89 3/26/2026
26.0.0 90 3/24/2026