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