public async Task <LoginResult> GetQRResult() { string qrToken = Request.Cookies[QRTOKEN_COOKIE_NAME]; if (string.IsNullOrWhiteSpace(qrToken)) { return(new LoginResult { Code = (int)LoginResultCode.InvalidAccess }); } return(await SecurityServices.QRResult(qrToken)); }