tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Tgstation.Server.Client.IUsersClient Interface Reference

For managing UserResponses. More...

Inheritance diagram for Tgstation.Server.Client.IUsersClient:
Inheritance graph
[legend]

Public Member Functions

ValueTask< UserResponseRead (CancellationToken cancellationToken)
 Read the current user's information and general rights.
 
ValueTask< UserResponseGetId (EntityId user, CancellationToken cancellationToken)
 Get a specific user .
 
ValueTask< List< UserResponse > > List (PaginationSettings? paginationSettings, CancellationToken cancellationToken)
 List all UserResponses.
 
ValueTask< UserResponseCreate (UserCreateRequest user, CancellationToken cancellationToken)
 Create a new user .
 
ValueTask< UserResponseUpdate (UserUpdateRequest user, CancellationToken cancellationToken)
 Update a user .
 

Detailed Description

For managing UserResponses.

Definition at line 14 of file IUsersClient.cs.

Member Function Documentation

◆ Create()

ValueTask< UserResponse > Tgstation.Server.Client.IUsersClient.Create ( UserCreateRequest  user,
CancellationToken  cancellationToken 
)

Create a new user .

Parameters
userThe UserCreateRequest.
cancellationTokenThe CancellationToken for the operation.
Returns
A ValueTask<TResult> resulting in the new UserResponse.

Implemented in Tgstation.Server.Client.UsersClient.

◆ GetId()

ValueTask< UserResponse > Tgstation.Server.Client.IUsersClient.GetId ( EntityId  user,
CancellationToken  cancellationToken 
)

Get a specific user .

Parameters
userThe EntityId of the UserResponse to get.
cancellationTokenThe CancellationToken for the operation.
Returns
A ValueTask<TResult> resulting in the requested user .

Implemented in Tgstation.Server.Client.UsersClient.

◆ List()

ValueTask< List< UserResponse > > Tgstation.Server.Client.IUsersClient.List ( PaginationSettings paginationSettings,
CancellationToken  cancellationToken 
)

List all UserResponses.

Parameters
paginationSettingsThe optional PaginationSettings for the operation.
cancellationTokenThe CancellationToken for the operation.
Returns
A ValueTask<TResult> resulting in a List<T> of all UserResponses.

Implemented in Tgstation.Server.Client.UsersClient.

◆ Read()

ValueTask< UserResponse > Tgstation.Server.Client.IUsersClient.Read ( CancellationToken  cancellationToken)

Read the current user's information and general rights.

Parameters
cancellationTokenThe CancellationToken for the operation.
Returns
A ValueTask<TResult> resulting in the current UserResponse.

Implemented in Tgstation.Server.Client.UsersClient.

◆ Update()

ValueTask< UserResponse > Tgstation.Server.Client.IUsersClient.Update ( UserUpdateRequest  user,
CancellationToken  cancellationToken 
)

Update a user .

Parameters
userThe UserUpdateRequest used to update the UserResponse.
cancellationTokenThe CancellationToken for the operation.
Returns
A ValueTask<TResult> resulting in the updated UserResponse.

Implemented in Tgstation.Server.Client.UsersClient.


The documentation for this interface was generated from the following file: