{"repo":"fschick/Keycloak.RestApiClient","free":true,"listed":false,"github":"https://github.com/fschick/Keycloak.RestApiClient","clone":"git clone https://github.com/fschick/Keycloak.RestApiClient.git","description":"Keycloak Admin REST API client (.NET)","language":"Mustache","stars":86,"topics":["keycloak","keycloak-api","rest","rest-client","csharp","dotnet"],"license":null,"category":"api-integrations-sdks","readme_excerpt":".NET / C# Keycloak.RestApiClient This is a .NET / C# REST API client for the Keycloak Admin REST API auto-generated by OpenAPI Generator using the OpenAPI definitions provided by Keycloak Documentation for API Endpoints Official documentation: Keycloak Admin REST API Generated Swagger UI: Swagger Editor Keycloak versions supported Keycloak.RestApiClient Keycloak ---------------------- -------- 26.n.n 26.x.x ... ... 19.n.n 19.x.x Frameworks supported - .NET Core =1.0 - .NET Framework =4.6 - Mono/Xamarin =vNext Installation Install from NuGet package Getting Started Method names Method names are humanized: GET on path /{realm}/users becomes GetUsers(Async) GET on path /{realm}/identity-provider/providers/{provider id} becomes GetIdentityProviderProvidersByProviderId(Async) Authentication You can select authentication flow either by the username and password or by providing client ID and client secret. Sample code With authentication by username/password With authentication by client-id/client-secret Advanced Usage To use the API client with a HTTP proxy, setup a System.Net.WebProxy Connections Each ApiClass (properly the ApiClient inside it) will create an instance of HttpClient. It will use that for the entire lifecycle and dispose it when called the Dispose method. To better manager the connections it's a common practice to reuse the HttpClient and HttpClientHandler (see here for details). To use your own HttpClient instance just pass it to the ApiClass constructor. If you wa","default_branch":null,"files":null,"tree":[],"storefront":"/r/fschick","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fschick/Keycloak.RestApiClient/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}