2using System.Threading.Tasks;
4using Microsoft.AspNetCore.Mvc;
36 where TResult : TApiModel
37 where TApiModel : notnull;
49 where TApiModel : notnull;
Represents a response from an authority.
Evaluates a set of IAuthorizationRequirements to be checked before executing a response.
Base Controller for API functions.
Business logic for interating with the server.
Invokes TAuthority methods and generates IActionResult responses.
ValueTask< IActionResult > Invoke(ApiController controller, Func< TAuthority, RequirementsGated< AuthorityResponse > > authorityInvoker)
Invoke a TAuthority method with no success result.
ValueTask< IActionResult > Invoke< TResult, TApiModel >(ApiController controller, Func< TAuthority, RequirementsGated< AuthorityResponse< TResult > > > authorityInvoker)
Invoke a TAuthority method and get the result.
ValueTask< IActionResult > InvokeTransformable< TResult, TApiModel >(ApiController controller, Func< TAuthority, RequirementsGated< AuthorityResponse< TResult > > > authorityInvoker)
Invoke a TAuthority method and get the result.