lvermeulen / Keycloak.Net

C# client for Keycloak 6.x
MIT License
206 stars 121 forks source link

Add temporary as parameter #9

Closed fricred closed 4 years ago

fricred commented 4 years ago

Hi, Can u please add temporary as parameter in the method ResetUserPasswordAsync ?

public async Task<bool> ResetUserPasswordAsync(string realm, string userId, string password, bool temporary)
        {
            var response = await GetBaseUrl(realm)
                .AppendPathSegment($"/admin/realms/{realm}/users/{userId}/reset-password")
                .PutJsonAsync(new { type = "password", value = password, temporary = temporary })
                .ConfigureAwait(false);
            return response.IsSuccessStatusCode;
        }
lvermeulen commented 4 years ago

This is available in release 1.0.7.