File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Core/Controllers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ public async Task<AuthenticateResultModel> Authenticate([FromBody] AuthenticateM
63
63
return new AuthenticateResultModel
64
64
{
65
65
AccessToken = accessToken ,
66
- EncryptedAccessToken = GetEncrpyedAccessToken ( accessToken ) ,
66
+ EncryptedAccessToken = GetEncryptedAccessToken ( accessToken ) ,
67
67
ExpireInSeconds = ( int ) _configuration . Expiration . TotalSeconds ,
68
68
UserId = loginResult . User . Id
69
69
} ;
@@ -90,7 +90,7 @@ public async Task<ExternalAuthenticateResultModel> ExternalAuthenticate([FromBod
90
90
return new ExternalAuthenticateResultModel
91
91
{
92
92
AccessToken = accessToken ,
93
- EncryptedAccessToken = GetEncrpyedAccessToken ( accessToken ) ,
93
+ EncryptedAccessToken = GetEncryptedAccessToken ( accessToken ) ,
94
94
ExpireInSeconds = ( int ) _configuration . Expiration . TotalSeconds
95
95
} ;
96
96
}
@@ -225,7 +225,7 @@ private static List<Claim> CreateJwtClaims(ClaimsIdentity identity)
225
225
return claims ;
226
226
}
227
227
228
- private string GetEncrpyedAccessToken ( string accessToken )
228
+ private string GetEncryptedAccessToken ( string accessToken )
229
229
{
230
230
return SimpleStringCipher . Instance . Encrypt ( accessToken , AppConsts . DefaultPassPhrase ) ;
231
231
}
You can’t perform that action at this time.
0 commit comments