/// <summary> /// Edit specified client which is created. /// </summary> /// <param name="clientId">Client ID.</param> /// <param name="newName">New client name.</param> /// <param name="newRedirectUri">New redirect URI.</param> public void EditClient(int clientId, string newName, Uri newRedirectUri) { string json = HttpClient.HttpPutJson( url: $"{ClientLink}/{clientId}", args: new Dictionary <string, string> { ["name"] = newName, ["redirect"] = newRedirectUri.AbsoluteUri }, argsHeader: new Dictionary <string, string> { [TokenKey] = CsrfToken, } ); }