Exemplo n.º 1
0
        public async Task Token()
        {
            var client = new RdNetClient(Setup.APP_ID);

            var result = await client.GetTokenAsync(Setup.CLIENT_ID, Setup.CLIENT_SECRET, Setup.DEVICE_CODE);

            Assert.Equal("Bearer", result.TokenType);
        }