diff --git a/src/log4stash/Authentication/AuthenticationMethodChooser.cs b/src/log4stash/Authentication/AuthenticationMethodChooser.cs index f29fe38..84268f9 100644 --- a/src/log4stash/Authentication/AuthenticationMethodChooser.cs +++ b/src/log4stash/Authentication/AuthenticationMethodChooser.cs @@ -1,4 +1,5 @@ using log4stash.ErrorHandling; + using RestSharp; using RestSharp.Authenticators; @@ -9,6 +10,10 @@ public class AuthenticationMethodChooser : IAuthenticationMethodChooser private readonly IExternalEventWriter _eventWriter; private IAuthenticator _innerMethod; + public AuthenticationMethodChooser() + { + } + public AuthenticationMethodChooser(IExternalEventWriter eventWriter) { _eventWriter = eventWriter; @@ -37,7 +42,7 @@ public void AddApiKey(ApiKeyAuthenticationMethod method) AddFilter(method); } - #endregion + #endregion Helpers for common authentication methods public void Authenticate(IRestClient client, IRestRequest request) {