tgstation-server 6.12.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 {
13 public string? Bearer { get; set; }
14
19 public JsonWebToken ParseJwt() => new(Bearer);
20 }
21}
Represents a JWT returned by the API.
JsonWebToken ParseJwt()
Parses the Bearer as a JsonWebToken.