tgstation-server 6.8.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
ITokenFactory.cs
Go to the documentation of this file.
1using Microsoft.IdentityModel.Tokens;
2
4
6{
10 public interface ITokenFactory
11 {
15 TokenValidationParameters ValidationParameters { get; }
16
23 TokenResponse CreateToken(Models.User user, bool oAuth);
24 }
25}
Represents a JWT returned by the API.
Definition: TokenResponse.cs:9
TokenResponse CreateToken(Models.User user, bool oAuth)
Create a TokenResponse for a given user .
TokenValidationParameters ValidationParameters
The TokenValidationParameters for the ITokenFactory.