diff options
author | crupest <crupest@outlook.com> | 2020-02-21 11:59:58 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-02-21 11:59:58 +0800 |
commit | 6cf3c7891fe8a810b20bb799db9f3fb97414c4de (patch) | |
tree | a143ff8698660608d188428957a1ad56d620cca6 /Timeline/Services | |
parent | e6a153380c720e386137904498b78b5488868f13 (diff) | |
download | timeline-6cf3c7891fe8a810b20bb799db9f3fb97414c4de.tar.gz timeline-6cf3c7891fe8a810b20bb799db9f3fb97414c4de.tar.bz2 timeline-6cf3c7891fe8a810b20bb799db9f3fb97414c4de.zip |
Migrate to use sqlite.
Diffstat (limited to 'Timeline/Services')
-rw-r--r-- | Timeline/Services/UserTokenService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Timeline/Services/UserTokenService.cs b/Timeline/Services/UserTokenService.cs index cf7286f4..731eb1db 100644 --- a/Timeline/Services/UserTokenService.cs +++ b/Timeline/Services/UserTokenService.cs @@ -43,13 +43,13 @@ namespace Timeline.Services {
private const string VersionClaimType = "timeline_version";
- private readonly IOptionsMonitor<JwtConfig> _jwtConfig;
+ private readonly IOptionsMonitor<JwtConfiguration> _jwtConfig;
private readonly IClock _clock;
private readonly JwtSecurityTokenHandler _tokenHandler = new JwtSecurityTokenHandler();
private SymmetricSecurityKey _tokenSecurityKey;
- public JwtUserTokenService(IOptionsMonitor<JwtConfig> jwtConfig, IClock clock)
+ public JwtUserTokenService(IOptionsMonitor<JwtConfiguration> jwtConfig, IClock clock)
{
_jwtConfig = jwtConfig;
_clock = clock;
|