Exemplo n.º 1
0
        public async Task Products()
        {
            var json = await AssertIsTrue(await OAuthHelper.GetProduct(new Guid("14732597-54c2-42e1-8390-5aa86387e1af")));

            var access_token = JObject.Parse(json).GetValue("access_token").Value <string>();

            var d = await OAuthHelper.GetModules(access_token);

            json = await d.Content.ReadAsStringAsync();
        }