Table of Contents

Interface IKeycloakRealmClient

Namespace
Keycloak.AuthServices.Sdk.Admin
Assembly
Keycloak.AuthServices.Sdk.dll

Realm management

public interface IKeycloakRealmClient

Methods

GetRealmAsync(string, CancellationToken)

Get realm

Task<RealmRepresentation> GetRealmAsync(string realm, CancellationToken cancellationToken = default)

Parameters

realm string
cancellationToken CancellationToken

Returns

Task<RealmRepresentation>

GetRealmWithResponseAsync(string, CancellationToken)

Get realm

Task<HttpResponseMessage> GetRealmWithResponseAsync(string realm, CancellationToken cancellationToken = default)

Parameters

realm string
cancellationToken CancellationToken

Returns

Task<HttpResponseMessage>