tgstation-server 6.9.2
The /tg/station 13 server suite
Loading...
Searching...
No Matches
IAuthenticationContext.cs
Go to the documentation of this file.
3
5{
9 public interface IAuthenticationContext
10 {
14 public bool Valid { get; }
15
19 User User { get; }
20
25
30
37
42 }
43}
Represents the currently authenticated Models.User.
ISystemIdentity? SystemIdentity
The ISystemIdentity of User if applicable.
bool Valid
If the IAuthenticationContext is for a valid login.
ulong GetRight(RightsType rightsType)
Get the value of a given rightsType .
Represents a user on the current global::System.Runtime.InteropServices.OSPlatform.
@ List
User may list files if the Models.Instance allows it.
RightsType
The type of rights a model uses.
Definition RightsType.cs:7