Exemplo n.º 1
0
 public AuthenticationService(ServiceConfigurator serviceConfigurator)
 {
     serviceConfigurator.Register(_serviceCollection);
     _service        = _serviceCollection.BuildServiceProvider();
     _client         = _service.GetRequiredService <IRestClient>();
     _client.BaseUrl = Config.GetBaseUrl();
 }