tgstation-server 6.19.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
IAuthorityInvoker{TAuthority}.cs
Go to the documentation of this file.
1using System;
2using System.Linq;
3using System.Threading.Tasks;
4
6{
11 public interface IAuthorityInvoker<TAuthority>
12 where TAuthority : IAuthority
13 {
20 ValueTask<IQueryable<TResult>?> InvokeQueryable<TResult>(Func<TAuthority, RequirementsGated<IQueryable<TResult>>> authorityInvoker);
21 }
22}
Evaluates a set of IAuthorizationRequirements to be checked before executing a response.
Business logic for interating with the server.
Definition IAuthority.cs:9
ValueTask< IQueryable< TResult >?> InvokeQueryable< TResult >(Func< TAuthority, RequirementsGated< IQueryable< TResult > > > authorityInvoker)
Invoke a TAuthority method and get the result.