diff options
author | crupest <crupest@outlook.com> | 2021-04-28 17:16:45 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-04-28 17:16:45 +0800 |
commit | ffd50da0e45df6d1c5c27bff4a5b459f201fd7ef (patch) | |
tree | d556eca60c5edd6dea506546f97dabb7a34a62e9 /BackEnd/Timeline/Auth/MyAuthenticationHandler.cs | |
parent | db6629940e294b44d678e776ccce769a8ac715de (diff) | |
download | timeline-ffd50da0e45df6d1c5c27bff4a5b459f201fd7ef.tar.gz timeline-ffd50da0e45df6d1c5c27bff4a5b459f201fd7ef.tar.bz2 timeline-ffd50da0e45df6d1c5c27bff4a5b459f201fd7ef.zip |
...
Diffstat (limited to 'BackEnd/Timeline/Auth/MyAuthenticationHandler.cs')
-rw-r--r-- | BackEnd/Timeline/Auth/MyAuthenticationHandler.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BackEnd/Timeline/Auth/MyAuthenticationHandler.cs b/BackEnd/Timeline/Auth/MyAuthenticationHandler.cs index affed7a5..949dd832 100644 --- a/BackEnd/Timeline/Auth/MyAuthenticationHandler.cs +++ b/BackEnd/Timeline/Auth/MyAuthenticationHandler.cs @@ -115,7 +115,7 @@ namespace Timeline.Auth try
{
- var user = await _userTokenManager.VerifyToken(token);
+ var user = await _userTokenManager.VerifyTokenAsync(token);
var identity = new ClaimsIdentity(AuthenticationConstants.Scheme);
identity.AddClaim(new Claim(ClaimTypes.NameIdentifier, user.Id.ToString(CultureInfo.InvariantCulture), ClaimValueTypes.Integer64));
|