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 | 3fa9899e17df4b1012e8b645915ac15022b84f9b (patch) | |
tree | a143ff8698660608d188428957a1ad56d620cca6 /Timeline/Services/UserTokenService.cs | |
parent | 1fe7642e88d373d8ed00a434cd7c73af422c261a (diff) | |
download | timeline-3fa9899e17df4b1012e8b645915ac15022b84f9b.tar.gz timeline-3fa9899e17df4b1012e8b645915ac15022b84f9b.tar.bz2 timeline-3fa9899e17df4b1012e8b645915ac15022b84f9b.zip |
Migrate to use sqlite.
Diffstat (limited to 'Timeline/Services/UserTokenService.cs')
-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;
|