aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Authenticate
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-07-20 23:47:41 +0800
committer杨宇千 <crupest@outlook.com>2019-07-20 23:47:41 +0800
commit2556e3bf0eac76af2efa63026fe440b1344e7a5d (patch)
treeb0f75d1c1613a2686e62edb95d858021beae9f01 /Timeline/Authenticate
parent8fcc916d53443936e4d504067caf0f55f3b141ae (diff)
downloadtimeline-2556e3bf0eac76af2efa63026fe440b1344e7a5d.tar.gz
timeline-2556e3bf0eac76af2efa63026fe440b1344e7a5d.tar.bz2
timeline-2556e3bf0eac76af2efa63026fe440b1344e7a5d.zip
WIP: Change the JwtService.
Diffstat (limited to 'Timeline/Authenticate')
-rw-r--r--Timeline/Authenticate/AuthHandler.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Timeline/Authenticate/AuthHandler.cs b/Timeline/Authenticate/AuthHandler.cs
index 71d8aeaa..63442481 100644
--- a/Timeline/Authenticate/AuthHandler.cs
+++ b/Timeline/Authenticate/AuthHandler.cs
@@ -23,9 +23,7 @@ namespace Timeline.Authenticate
/// </summary>
public string TokenQueryParamKey { get; set; } = "token";
- public TokenValidationParameters TokenValidationParameters { get;
- set; }
- = new TokenValidationParameters();
+ public TokenValidationParameters TokenValidationParameters { get; set; } = new TokenValidationParameters();
}
class AuthHandler : AuthenticationHandler<AuthOptions>