Exemple #1
0
 /// <summary>
 /// Updates the name and <see cref="ApplicationGrantType"/> of an application
 /// </summary>
 /// <param name="id">the id of the application to update</param>
 /// <param name="name">the new name to set</param>
 /// <param name="grantType">the grant type to set for the application</param>
 /// <returns>the updated <see cref="ChinoApplication"/></returns>
 /// <param name="redirectUrl">the url the api server returns after successful login</param>
 /// <exception cref="ChinoApiException">thrown by the api server, when recieving incorrect request data</exception>
 public ChinoApplication Update(string id, string name, ApplicationGrantType grantType, string redirectUrl)
 {
     return(ChinoApplication.Update(this.client, id, name, grantType, redirectUrl));
 }