API

AddAuthorizationCore

Registers core authorization services for direct policy evaluation.

Formal Syntax & Structure

csharp syntaxcsharp
services.AddAuthorizationCore(options => { });

Working Example

Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.services.AddAuthorizationCore(options => { });
C# & .NET Reference