tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
IUserAuthority.cs
Go to the documentation of this file.
1using System.Linq;
4
11
13{
76}
Business logic for interating with the server.
Definition IAuthority.cs:9
IQueryable< User > Queryable(bool includeJoins)
Gets all registered Users.
ValueTask< AuthorityResponse< User > > Update(UserUpdateRequest updateRequest, CancellationToken cancellationToken)
Updates a User.
ValueTask< AuthorityResponse< GraphQL.Types.OAuth.OAuthConnection[]> > OAuthConnections(long userId, CancellationToken cancellationToken)
Gets the GraphQL.Types.OAuth.OAuthConnections for the User with a given userId .
ValueTask< AuthorityResponse< User > > GetId(long id, bool includeJoins, bool allowSystemUser, CancellationToken cancellationToken)
Gets the User with a given id .
ValueTask< AuthorityResponse< User > > Read(CancellationToken cancellationToken)
Gets the currently authenticated user.
ValueTask< AuthorityResponse< User > > Create(UserCreateRequest createRequest, bool? needZeroLengthPasswordWithOAuthConnections, CancellationToken cancellationToken)
Creates a User.
@ List
User may list files if the Models.Instance allows it.
AdministrationRights
Administration rights for the server.