Esempio n. 1
0
        public async Task <IHttpActionResult> AccessToken()
        {
            var jwtToken = Request.Headers.Authorization;
            var token    = await phenomeService.GetAccessTokenAsync(jwtToken.Parameter);

            return(Ok(new
            {
                accessToken = token
            }));
        }