File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/client/Microsoft.Identity.Client/Internal/Requests Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,19 +63,19 @@ protected override async Task<AuthenticationResult> ExecuteAsync(CancellationTok
6363 _managedIdentityParameters . Claims = AuthenticationRequestParameters . Claims ;
6464 AuthenticationRequestParameters . RequestContext . ApiEvent . CacheInfo = CacheRefreshReason . ForceRefreshOrClaims ;
6565
66- // If there is a cached token, compute its hash for the “bad token” scenario
66+ // If there is a cached token, compute its hash for the “revoked token” scenario
6767 if ( cachedAccessTokenItem != null )
6868 {
6969 string cachedTokenHash = _cryptoManager . CreateSha256HashHex ( cachedAccessTokenItem . Secret ) ;
7070 _managedIdentityParameters . RevokedTokenHash = cachedTokenHash ;
7171
72- logger . Info ( "[ManagedIdentityRequest] Claims are present. Computed hash of the cached (bad ) token. " +
72+ logger . Info ( "[ManagedIdentityRequest] Claims are present. Computed hash of the cached (revoked ) token. " +
7373 "Will now request a fresh token from the MI endpoint." ) ;
7474 }
7575 else
7676 {
7777 logger . Info ( "[ManagedIdentityRequest] Claims are present, but no cached token was found. " +
78- "Requesting a fresh token from the MI endpoint without a bad -token hash." ) ;
78+ "Requesting a fresh token from the MI endpoint without a revoked -token hash." ) ;
7979 }
8080
8181 // In both cases, we skip using the cached token and get a new one
You can’t perform that action at this time.
0 commit comments