Update policies.md (#18842)
parent
6e204c6e7b
commit
9cade78646
|
@ -256,6 +256,8 @@ The primary service that determines if authorization is successful is <xref:Micr
|
|||
|
||||
[!code-csharp[](policies/samples/stubs/copy_of_IAuthorizationService.cs?highlight=24-25,48-49&name=snippet)]
|
||||
|
||||
[!INCLUDE[request localized comments](~/includes/code-comments-loc.md)]
|
||||
|
||||
The preceding code highlights the two methods of the [IAuthorizationService](https://github.com/dotnet/AspNetCore/blob/v2.2.4/src/Security/Authorization/Core/src/IAuthorizationService.cs).
|
||||
|
||||
<xref:Microsoft.AspNetCore.Authorization.IAuthorizationRequirement> is a marker service with no methods, and the mechanism for tracking whether authorization is successful.
|
||||
|
|
Loading…
Reference in New Issue