tgstation-server 6.8.0
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
36 ulong GetRight(RightsType rightsType);
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.
RightsType
The type of rights a model uses.
Definition: RightsType.cs:7