graphql-dotnet / graphql-dotnet/authorization
Let .AddAuthorization work with PolicyProviders
Open
- Dominant language
- C#
- Stars
- 160
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
When using .AddAuthorization it would be great that it would be able to access IAuthorizationPolicyProvider instead of having to add every Policy manually. Currently I don't think that's really possible , which makes it hard to dynamically set some new policies without registering them all beforehand.
or is that one of the limitations mentioned that it doesn't properly use the "Microsoft.AspNetCore.Authorization" features?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.