From 6dc035689ee6a3cab4125631e50c4d1620d2b389 Mon Sep 17 00:00:00 2001 From: Keegan Caruso Date: Thu, 22 Jun 2023 15:57:23 -0700 Subject: [PATCH] rename var --- .../JwtSecurityTokenConverter.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/System.IdentityModel.Tokens.Jwt/JwtSecurityTokenConverter.cs b/src/System.IdentityModel.Tokens.Jwt/JwtSecurityTokenConverter.cs index c484c1e15f..01e2838d56 100644 --- a/src/System.IdentityModel.Tokens.Jwt/JwtSecurityTokenConverter.cs +++ b/src/System.IdentityModel.Tokens.Jwt/JwtSecurityTokenConverter.cs @@ -22,9 +22,9 @@ public static JwtSecurityToken Convert(JsonWebToken token) if (token.InnerToken != null) { - var outerToken = new JwtSecurityToken(token.EncodedToken); - outerToken.InnerToken = new JwtSecurityToken(token.InnerToken.EncodedToken); - return outerToken; + var jwtSecurityToken = new JwtSecurityToken(token.EncodedToken); + jwtSecurityToken.InnerToken = new JwtSecurityToken(token.InnerToken.EncodedToken); + return jwtSecurityToken; } else if (!string.IsNullOrEmpty(token.EncodedToken)) {