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 | 76ea7c9f7295f1507bc87154b36cc0f2ea22036e (patch) | |
| tree | ed6e2b0e7dcad128bf9b971e74c233d23113e284 /BackEnd/Timeline/Auth | |
| parent | 344d189e5860a20ebe42cec03b86974a2a3aaa95 (diff) | |
| download | timeline-76ea7c9f7295f1507bc87154b36cc0f2ea22036e.tar.gz timeline-76ea7c9f7295f1507bc87154b36cc0f2ea22036e.tar.bz2 timeline-76ea7c9f7295f1507bc87154b36cc0f2ea22036e.zip | |
...
Diffstat (limited to 'BackEnd/Timeline/Auth')
| -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));
|
