tgstation-server 6.14.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
TokenResponse.cs
Go to the documentation of this file.
1using Microsoft.IdentityModel.JsonWebTokens;
2
4{
8 public sealed class TokenResponse
9 {
14 public string? Bearer { get; set; }
15
20 public JsonWebToken ParseJwt() => new(Bearer);
21 }
22}
Represents a JWT returned by the API.
JsonWebToken ParseJwt()
Parses the Bearer as a JsonWebToken.