Exemplo n.º 1
0
        public async Task <bool> UpdateRealmEventsProviderConfigurationAsync(string realm, RealmEventsConfig rep)
        {
            var response = await GetBaseUrl(realm)
                           .AppendPathSegment($"/admin/realms/{realm}/events/config")
                           .PutJsonAsync(rep)
                           .ConfigureAwait(false);

            return(response.IsSuccessStatusCode);
        }
Exemplo n.º 2
0
 public async Task <bool> UpdateAsync(RealmEventsConfig config)
 {
     return(await _client.UpdateRealmEventsProviderConfigurationAsync(_context.ConnectionSettings.Realm, config));
 }