/// <summary>
 /// Instantiates an instance of <see cref="GetInstallationsForUserProxy" />
 /// </summary>
 /// <param name="clientFactory">A factory for creating the github client</param>
 /// <param name="tokenStore">A store for the token for the github user</param>
 /// <param name="serializer">A serializer</param>
 public GetInstallationsForUserProxy(IGitHubClientFactory clientFactory, IGitHubUserTokenStore tokenStore, ISerializer serializer)
 {
     _clientFactory = clientFactory;
     _tokenStore    = tokenStore;
     _serializer    = serializer;
 }
Пример #2
0
 public Callback(IGitHubCredentials credentials, IGitHubClientFactory clientFactory, IGitHubUserTokenStore tokenStore)
 {
     _credentials   = credentials;
     _clientFactory = clientFactory;
     _tokenStore    = tokenStore;
 }
 public Authenticate(IGitHubCredentials credentials, IGitHubClientFactory clientFactory, IGitHubUserTokenStore tokenStore)
 {
     _credentials   = credentials;
     _clientFactory = clientFactory;
     _tokenStore    = tokenStore;
 }