Can IHashProvider be injected via constructor or property on AuthRepositories?

We’re calling the auth repository from a client app to migrate data, and inject dependencies manually instead of setting up the entire app host.
Could it be injected instead of calling HostContext from inside the method?

Here’s an example:

You can now inject your own HashProvider in this commit.

This change is available from v4.5.1 that’s now available on MyGet.

1 Like