From b7139731254e66475bb8c361c2660feecb4d9ff7 Mon Sep 17 00:00:00 2001 From: sfc-gh-ext-simba-lf Date: Thu, 25 Apr 2024 11:03:26 -0700 Subject: [PATCH] Remove if statement for targets --- Snowflake.Data/Core/Authenticator/OktaAuthenticator.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Snowflake.Data/Core/Authenticator/OktaAuthenticator.cs b/Snowflake.Data/Core/Authenticator/OktaAuthenticator.cs index 1a786fd59..5772034e4 100644 --- a/Snowflake.Data/Core/Authenticator/OktaAuthenticator.cs +++ b/Snowflake.Data/Core/Authenticator/OktaAuthenticator.cs @@ -80,11 +80,7 @@ async Task IAuthenticator.AuthenticateAsync(CancellationToken cancellationToken) s_logger.Debug("step 4: Get SAML response from SSO"); var samlRestRequest = BuildSamlRestRequest(ssoUrl, onetimeToken); samlRawResponse = await session.restRequester.GetAsync(samlRestRequest, cancellationToken).ConfigureAwait(false); -#if NETFRAMEWORK || NETSTANDARD2_0 _rawSamlTokenHtmlString = await samlRawResponse.Content.ReadAsStringAsync().ConfigureAwait(false); -#else - _rawSamlTokenHtmlString = await samlRawResponse.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); -#endif s_logger.Debug("step 5: Verify postback URL in SAML response"); VerifyPostbackUrl();