private IActionResult BuildToken(UserInfo userInfo) { var tokenObject = _accountManager.BuildToken(userInfo); return(Ok(new { token = tokenObject.Token, expiration = tokenObject.Expiration })); }