2using System.Threading.Tasks;
34 Task<ISystemIdentity?>
CreateSystemIdentity(
string username,
string password, CancellationToken cancellationToken);
Factory for ISystemIdentitys.
Task< ISystemIdentity?> CreateSystemIdentity(string username, string password, CancellationToken cancellationToken)
Create a ISystemIdentity for a given username and password.
Task< ISystemIdentity?> CreateSystemIdentity(User user, CancellationToken cancellationToken)
Create a ISystemIdentity for a given user .
ISystemIdentity GetCurrent()
Retrieves a ISystemIdentity representing the user executing tgstation-server.
Represents a user on the current global::System.Runtime.InteropServices.OSPlatform.