Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Sift client implementation that can be configured via dependency injection. #75

Open
CBaud opened this issue Jul 24, 2024 · 0 comments

Comments

@CBaud
Copy link

CBaud commented Jul 24, 2024

The existing client can be manually constructed with a string containing the API key and an optional HTTP client reference. It should be possible to also provide a client implementation with a constructor that can be configured via dependency injection. For example, this can be achieved using an IOptions<T> reference to retrieve the API key and an IHttpClientFactory reference to generate the HTTP client reference.

@CBaud CBaud changed the title Create a Create a SiftClient implementation that can be configured via dependency injection. Jul 24, 2024
@CBaud CBaud changed the title Create a SiftClient implementation that can be configured via dependency injection. Create a Sift client implementation that can be configured via dependency injection. Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant