tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Security
IIdentityCache.cs
Go to the documentation of this file.
1
using
System;
2
using
System.Threading.Tasks;
3
4
using
Tgstation.Server.Host.Models
;
5
6
namespace
Tgstation.Server.Host.Security
7
{
11
public
interface
IIdentityCache
12
{
20
ValueTask
CacheSystemIdentity
(
User
user,
ISystemIdentity
systemIdentity, DateTimeOffset expiry);
21
27
ISystemIdentity
LoadCachedIdentity
(
User
user);
28
}
29
}
Tgstation.Server.Host.Models.User
Definition
User.cs:17
Tgstation.Server.Host.Security.IIdentityCache
For caching ISystemIdentitys.
Definition
IIdentityCache.cs:12
Tgstation.Server.Host.Security.IIdentityCache.CacheSystemIdentity
ValueTask CacheSystemIdentity(User user, ISystemIdentity systemIdentity, DateTimeOffset expiry)
Keep a user 's systemIdentity alive until an expiry time.
Tgstation.Server.Host.Security.IIdentityCache.LoadCachedIdentity
ISystemIdentity LoadCachedIdentity(User user)
Attempt to load a cached ISystemIdentity.
Tgstation.Server.Host.Security.ISystemIdentity
Represents a user on the current global::System.Runtime.InteropServices.OSPlatform.
Definition
ISystemIdentity.cs:11
Tgstation.Server.Host.Models
Definition
ChatBot.cs:9
Tgstation.Server.Host.Security
Definition
AuthenticationContext.cs:8
Generated by
1.9.8