Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Make AuthorizeFilter (or something like it) constructable #5253

Closed
rynowak opened this issue Sep 8, 2016 · 2 comments
Closed

Make AuthorizeFilter (or something like it) constructable #5253

rynowak opened this issue Sep 8, 2016 · 2 comments

Comments

@rynowak
Copy link
Member

rynowak commented Sep 8, 2016

AuthorizeFilter can't really be constructed today, it needs a service, which makes it really cumbersome to use in startup code or conventions.

We should either add a new class that's constructable, or add another constructor to AuthorizeFilter.

@danroth27
Copy link
Member

Is this needed to enable authorization in "Razor Pages"?

@rynowak
Copy link
Member Author

rynowak commented Sep 9, 2016

@danroth27 danroth27 added this to the 1.1.0 milestone Sep 12, 2016
pranavkm added a commit that referenced this issue Sep 13, 2016
pranavkm added a commit that referenced this issue Sep 13, 2016
pranavkm added a commit that referenced this issue Sep 14, 2016
* Make AuthorizeFilter constructable

Fixes #5253
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants