tgstation-server 6.19.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
UserSessionValidRequirement.cs
Go to the documentation of this file.
1using System.Collections.Generic;
2
3using Microsoft.AspNetCore.Authorization;
4
6{
11 {
15 public static IEnumerable<UserSessionValidRequirement> InstanceAsEnumerable { get; } =
16 [
17 new(),
18 ];
19
24 {
25 }
26 }
27}
IAuthorizationRequirement for testing if a user is enabled and their session is valid.
UserSessionValidRequirement()
Initializes a new instance of the UserSessionValidRequirement class.
static IEnumerable< UserSessionValidRequirement > InstanceAsEnumerable
The singleton instance of this class.