-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Closed
Labels
Pri0Urgent priorityUrgent prioritySource - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issueaspnet-core/svcdoc-bugsecurity/subsvc
Description
Description
At about the middle of the page, it says:
The MinimumAgeAuthorizationHandler is registered as a scoped IAuthorizationHandler service in the app's Program file:
But the code below registers the handler as a singleton (and so does the source code on GitHub).
So the text should be:
The MinimumAgeAuthorizationHandler is registered as a singleton IAuthorizationHandler service in the app's Program file:
Page URL
https://learn.microsoft.com/en-us/aspnet/core/security/authorization/iard?view=aspnetcore-9.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/security/authorization/iard.md
Document ID
f6195feb-aade-5e5a-dc6d-6a6b9bb6038e
Platform Id
501004e1-08aa-e864-ab2f-b2571449393e
Article author
Metadata
- ID: f6195feb-aade-5e5a-dc6d-6a6b9bb6038e
- PlatformId: 501004e1-08aa-e864-ab2f-b2571449393e
- Service: aspnet-core
- Sub-service: security
Metadata
Metadata
Assignees
Labels
Pri0Urgent priorityUrgent prioritySource - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issueaspnet-core/svcdoc-bugsecurity/subsvc