Beispiel #1
0
 public Task ResetPassword(EndPoint endPoint, string login, ResetPasswordDetails resetPasswordDetails,
                           UserCredentials userCredentials = null)
 {
     return(SendPost(
                endPoint.ToHttpUrl(EndpointExtensions.HTTP_SCHEMA, "/users/{0}/command/reset-password", login),
                resetPasswordDetails.ToJson(), userCredentials, HttpStatusCode.OK));
 }
Beispiel #2
0
 public Task ResetPassword(IPEndPoint endPoint, string login, ResetPasswordDetails resetPasswordDetails,
     UserCredentials userCredentials = null)
 {
     return SendPost(endPoint.ToHttpUrl("/users/{0}/command/reset-password", login), resetPasswordDetails.ToJson(), userCredentials, HttpStatusCode.OK);
 }