18 lines
379 B
C#
18 lines
379 B
C#
using System.IO;
|
|
|
|
namespace JWTService {
|
|
public interface IJWTServiceConfig {
|
|
public JwtConfig? JwtConfig { get; set; }
|
|
}
|
|
|
|
public interface IJwtConfig {
|
|
public string? Secret { get; set; }
|
|
public double? Expires { get; set; }
|
|
}
|
|
|
|
public class JwtConfig : IJwtConfig {
|
|
public string? Secret { get; set; }
|
|
public double? Expires { get; set; }
|
|
}
|
|
}
|