public async Task Test_GenerateUrlAsync_Default_Callback()
        {
            var request = new GithubAuthorizationRequest();

            request.Init();
            request.Scope = "user:email";
            var result = await _provider.GenerateUrlAsync(request);

            _output.WriteLine(result);
            Assert.Equal($"https://github.com/login/oauth/authorize?client_id={TestSampleConfig.GithubAppId}&scope={request.Scope}&state={request.State}&redirect_uri={Web.UrlEncode(TestSampleConfig.GithubCallbackUrl)}&allow_signup=true", result);
        }
 public static GithubAuthorization CreateAuthorizationToken(this IGithubServiceManagement proxy, GithubAuthorizationRequest request)
 {
     return(proxy.EndCreateAuthorizationToken(proxy.BeginCreateAuthorizationToken(request, null, null)));
 }
 public IAsyncResult BeginCreateAuthorizationToken(GithubAuthorizationRequest request, AsyncCallback callback, object state)
 {
     throw new NotImplementedException();
 }
 public static GithubAuthorization CreateAuthorizationToken(this IGithubServiceManagement proxy, GithubAuthorizationRequest request)
 {
     return proxy.EndCreateAuthorizationToken(proxy.BeginCreateAuthorizationToken(request, null, null));
 }
 public IAsyncResult BeginCreateAuthorizationToken(GithubAuthorizationRequest request, AsyncCallback callback, object state)
 {
     throw new NotImplementedException();
 }