public IActionResult LRPwlessAuth([FromQuery(Name = "verification_token")] String verificationToken) { var apiresponse = new PasswordLessLoginApi().PasswordlessLoginVerification(verificationToken); if (apiresponse.RestException != null) { return(StatusCode(400, Json(apiresponse.RestException))); } return(Json(apiresponse.Response)); }
public IActionResult LRPwlessLogin([FromQuery(Name = "email")] String email, [FromQuery(Name = "verification_url")] String verificationUrl) { var apiresponse = new PasswordLessLoginApi().PasswordlessLoginByEmail(email, "", verificationUrl); if (apiresponse.RestException != null) { return(StatusCode(400, Json(apiresponse.RestException))); } return(Json(apiresponse.Response)); }