File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,8 @@ def _preferred_browser():
164164 pass # We may still proceed
165165 return None
166166
167+ def _is_ssh_cert_or_pop_request (token_type , auth_scheme ) -> bool :
168+ return token_type == "ssh-cert" or token_type == "pop" or isinstance (auth_scheme , msal .auth_scheme .PopAuthScheme )
167169
168170class _ClientWithCcsRoutingInfo (Client ):
169171
@@ -1510,9 +1512,6 @@ def _acquire_token_silent_with_error(
15101512 }.get (final_result ["suberror" ], final_result ["suberror" ])
15111513 return final_result
15121514
1513- def _is_ssh_cert_or_pop_request (token_type , auth_scheme ) -> bool :
1514- return token_type == "ssh-cert" or token_type == "pop" or isinstance (auth_scheme , msal .auth_scheme .PopAuthScheme )
1515-
15161515 def _acquire_token_silent_from_cache_and_possibly_refresh_it (
15171516 self ,
15181517 scopes , # type: List[str]
You can’t perform that action at this time.
0 commit comments