2 writes to Handler
Microsoft.AspNetCore.Authorization (2)
AssertionRequirement.cs (2)
29Handler = context => Task.FromResult(handler(context)); 40Handler = handler;
3 references to Handler
Microsoft.AspNetCore.Authorization (3)
AssertionRequirement.cs (3)
44/// Calls <see cref="AssertionRequirement.Handler"/> to see if authorization is allowed. 49if (await Handler(context).ConfigureAwait(false)) 58return $"{nameof(Handler)} assertion should evaluate to true.";