File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -356,7 +356,7 @@ def _get_private_bytes_from_file(
356356 bool ,
357357 ), # SNOW-XXXXX: remove the check_arrow_conversion_error_on_every_column flag
358358 # Client-side opt-in to single-use refresh tokens.
359- "enable_single_use_refresh_tokens " : (
359+ "oauth_enable_single_use_refresh_tokens " : (
360360 False ,
361361 bool ,
362362 ),
@@ -1241,7 +1241,7 @@ def __open_connection(self):
12411241 ),
12421242 refresh_token_enabled = features .refresh_token_enabled ,
12431243 external_browser_timeout = self ._external_browser_timeout ,
1244- enable_single_use_refresh_tokens = self ._enable_single_use_refresh_tokens ,
1244+ enable_single_use_refresh_tokens = self ._oauth_enable_single_use_refresh_tokens ,
12451245 )
12461246 elif self ._authenticator == OAUTH_CLIENT_CREDENTIALS :
12471247 self ._check_experimental_authentication_flag ()
Original file line number Diff line number Diff line change @@ -705,6 +705,6 @@ def test_single_use_refresh_tokens_option_is_plumbed_into_authbyauthcode(
705705 oauth_client_id = "client_id" ,
706706 oauth_client_secret = "client_secret" ,
707707 authenticator = "OAUTH_AUTHORIZATION_CODE" ,
708- enable_single_use_refresh_tokens = rtr_enabled ,
708+ oauth_enable_single_use_refresh_tokens = rtr_enabled ,
709709 )
710710 assert conn .auth_class ._enable_single_use_refresh_tokens == rtr_enabled
You can’t perform that action at this time.
0 commit comments