Description
A continuation of #36666. Also see its related PR #36675
More code samples under authorization have the same issue: they use AddAuthorization() instead of AddAuthorizationBuilder().
Namely:
Page URL
https://learn.microsoft.com/en-us/aspnet/core/security/authorization/limitingidentitybyscheme?view=aspnetcore-10.0#selecting-the-scheme-with-policies
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/security/authorization/limitingidentitybyscheme.md
Document ID
0096c365-2f4e-5d21-89a0-c4f10fcb0ed9
Platform Id
099e63e1-c27f-9f00-8885-c551419ae35a
Article author
@wadepickett
Metadata
- ID: ee71441f-471a-89cd-0ef4-9b32b5dd85cf
- PlatformId: 099e63e1-c27f-9f00-8885-c551419ae35a
- Service: aspnet-core
- Sub-service: security
Related Issues
Associated WorkItem - 548940
Description
A continuation of #36666. Also see its related PR #36675
More code samples under authorization have the same issue: they use
AddAuthorization()instead ofAddAuthorizationBuilder().Namely:
Page URL
https://learn.microsoft.com/en-us/aspnet/core/security/authorization/limitingidentitybyscheme?view=aspnetcore-10.0#selecting-the-scheme-with-policies
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/security/authorization/limitingidentitybyscheme.md
Document ID
0096c365-2f4e-5d21-89a0-c4f10fcb0ed9
Platform Id
099e63e1-c27f-9f00-8885-c551419ae35a
Article author
@wadepickett
Metadata
Related Issues
Associated WorkItem - 548940