File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
src/Microsoft.Identity.Web.TokenAcquisition Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -843,18 +843,7 @@ public async Task RemoveAccountAsync(
843843 private bool IsInvalidClientCertificateOrSignedAssertionError ( MsalServiceException exMsal )
844844 {
845845 return ! _retryClientCertificate &&
846- string . Equals ( exMsal . ErrorCode , Constants . InvalidClient , StringComparison . OrdinalIgnoreCase ) &&
847- #if ! NETSTANDARD2_0 && ! NET462 && ! NET472
848- ( exMsal . Message . Contains ( Constants . InvalidKeyError , StringComparison . OrdinalIgnoreCase )
849- || exMsal . Message . Contains ( Constants . SignedAssertionInvalidTimeRange , StringComparison . OrdinalIgnoreCase )
850- || exMsal . Message . Contains ( Constants . CertificateHasBeenRevoked , StringComparison . OrdinalIgnoreCase )
851- || exMsal . Message . Contains ( Constants . CertificateIsOutsideValidityWindow , StringComparison . OrdinalIgnoreCase ) ) ;
852- #else
853- ( exMsal . Message . Contains ( Constants . InvalidKeyError )
854- || exMsal . Message . Contains ( Constants . SignedAssertionInvalidTimeRange )
855- || exMsal . Message . Contains ( Constants . CertificateHasBeenRevoked )
856- || exMsal . Message . Contains ( Constants . CertificateIsOutsideValidityWindow ) ) ;
857- #endif
846+ string . Equals ( exMsal . ErrorCode , Constants . InvalidClient , StringComparison . OrdinalIgnoreCase ) ;
858847 }
859848
860849
You can’t perform that action at this time.
0 commit comments