예제 #1
0
 public Task ChangePassword(EndPoint endPoint, string login, ChangePasswordDetails changePasswordDetails,
                            UserCredentials userCredentials)
 {
     return(SendPost(
                endPoint.ToHttpUrl(EndpointExtensions.HTTP_SCHEMA, "/users/{0}/command/change-password", login),
                changePasswordDetails.ToJson(), userCredentials, HttpStatusCode.OK));
 }
예제 #2
0
 public Task ChangePassword(IPEndPoint endPoint, string login, ChangePasswordDetails changePasswordDetails,
     UserCredentials userCredentials)
 {
     return SendPost(endPoint.ToHttpUrl("/users/{0}/command/change-password", login), changePasswordDetails.ToJson(), userCredentials, HttpStatusCode.OK);
 }