tgstation-server 6.16.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
OidcConnection.cs
Go to the documentation of this file.
1using System.ComponentModel.DataAnnotations;
2
4{
6 public sealed class OidcConnection : Api.Models.OidcConnection, ILegacyApiTransformable<Api.Models.OidcConnection>
7 {
11 public long Id { get; set; }
12
16 public long UserId { get; set; }
17
21 [Required]
22 public User? User { get; set; }
23
30 }
31}
Represents a valid OIDC connection.
string? ExternalUserId
The ID of the user in the OIDC proivder ("sub" claim).
string? SchemeKey
The OidcProviderInfo.SchemeKey of the OidcConnection.
long UserId
The Api.Models.EntityId.Id of User.
Api.Models.OidcConnection ToApi()
Represents a host-side model that may be transformed into a TApiModel .