Example #1
0
        public async Task <IActionResult> GetTokenVaueAsync([FromHeader(Name = "token")] string token)
        {
            var user = await _userFacade.DeserializeTokenAsync(token);

            if (IsValidUserToken(user))
            {
                return(Ok(user));
            }

            return(NoContent());
        }