public ApiResponse <LoginResponse> RegistrationWithRecaptcha(string apikey, LoginRadiusAccountUpdateModel model) { Validate(new ArrayList { apikey }); return(ConfigureAndExecute <LoginResponse>(RequestType.Authentication, HttpMethod.Post, "register/captcha", model.ConvertToJson())); }
public ApiResponse <LoginRadiusUserIdentity> UpdateAccount(string uId, LoginRadiusAccountUpdateModel user) { Validate(new ArrayList { uId }); var pattern = new LoginRadiusResoucePath("{0}").ToString(); var resourcePath = SDKUtil.FormatURIPath(pattern, new object[] { uId }); return(ConfigureAndExecute <LoginRadiusUserIdentity>(RequestType.Identity, HttpMethod.Put, resourcePath, user.ConvertToJson())); }