mirror of
https://github.com/nirvana-7777/script.service.ultimate.git
synced 2026-10-11 10:22:17 +02:00
Fix taa_client
This commit is contained in:
@@ -391,10 +391,6 @@ class Magenta2Authenticator(BaseOAuth2Authenticator):
|
||||
self._taa_client: Optional[TaaClient] = None
|
||||
self._initialize_taa_client()
|
||||
|
||||
# Initialize TokenFlowManager
|
||||
self.token_flow_manager: Optional[TokenFlowManager] = None
|
||||
self._initialize_token_flow_manager()
|
||||
|
||||
# Initialize parent
|
||||
super().__init__(
|
||||
provider_name='magenta2',
|
||||
@@ -407,6 +403,12 @@ class Magenta2Authenticator(BaseOAuth2Authenticator):
|
||||
proxy_config=proxy_config
|
||||
)
|
||||
|
||||
# Initialize TokenFlowManager
|
||||
self.token_flow_manager: Optional[TokenFlowManager] = None
|
||||
self._initialize_token_flow_manager()
|
||||
|
||||
logger.info("Magenta2 authenticator initialization completed successfully")
|
||||
|
||||
def update_sam3_client_id(self, client_id: str) -> None:
|
||||
"""Public method to update SAM3 client ID"""
|
||||
old_client_id = self._sam3_client_id
|
||||
|
||||
Reference in New Issue
Block a user