-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Open
Labels
⌚ Not TriagedSource - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issueaspnet-core/svcdoc-enhancementsecurity/subsvc
Description
Description
UUF verbatim
It would be really useful to see an example of the below. Git repo doesn't have it either."The AuthorizationPolicyBuilder should either be constructed with at least one authorization scheme name or always succeed. Otherwise there is no information on how to provide a challenge to the user and an exception will be thrown.Adding requirements to the policy based on the age with AuthorizationPolicyBuilder.AddRequirements. In other scenarios, you might use RequireClaim, RequireRole, or RequireUserName instead."
Page URL
Content source URL
Document ID
7b5c3832-a5a3-a27a-eed3-3ecfc3e8dbe2
Article author
Metadata
- ID: 150023ea-e35a-4a06-6f71-7ab63994b07f
- Service: aspnet-core
- Sub-service: security
Metadata
Metadata
Assignees
Labels
⌚ Not TriagedSource - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issueaspnet-core/svcdoc-enhancementsecurity/subsvc