Esempio n. 1
0
        private static async Task GetLongToken()
        {
            var appId     = _configuration["AppId"];
            var appSecret = _configuration["AppSecret"];

            var tokenObj = await _userApiService.GetLongToken(appId, appSecret, UserToken);

            var json = JsonConvert.SerializeObject(tokenObj, Formatting.Indented);
        }