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

UserFactory is not available #11

Closed
christianpanton opened this issue Sep 20, 2018 · 3 comments
Closed

UserFactory is not available #11

christianpanton opened this issue Sep 20, 2018 · 3 comments

Comments

@christianpanton
Copy link

It would be great if the userFactory would be available as a parameter for the sink.

@olsh
Copy link
Member

olsh commented Sep 21, 2018

Hi @christianpanton,

Thanks for the suggestion 👍

Do you mean ISentryUserFactory?

Well, it's pretty easy to expose it.
But I wonder, how are you going to use it?

@christianpanton
Copy link
Author

christianpanton commented Sep 23, 2018

In some applications, the current user can be derived from the HttpContext. But for my use case I would like to handle a self-managed user concept, not available on the HttpContext. This enables me to calculate the number of affected user in a much more reliable way.

@olsh olsh closed this as completed in 38aae66 Sep 24, 2018
@olsh
Copy link
Member

olsh commented Sep 24, 2018

Thanks for the explanation!

The factories parameters will be available in the 2.2.0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants