Example #1
0
        private static void CreateAuthorization(GithubRestApiClient client)
        {
            var response = client.CreateAuthorization<Authorization>(new List<string> { "repo" }, "[client id here]",
                                                                     "[client secret here]");

            Console.WriteLine("Authorization Token: " + response.Data.Token);
            Console.ReadKey();
        }