Exemplo n.º 1
0
        public ActionResult <AuthenticateResponseViewModel> Authenticate(AuthenticateRequestViewModel model)
        {
            var response = _accountService.Authenticate(model, ipAddress());

            setTokenCookie(response.RefreshToken);
            return(Ok(response));
        }