Skip to content

Commit

Permalink
removes access_token_url from constructor to build_access_token_request
Browse files Browse the repository at this point in the history
  • Loading branch information
willi-mueller committed May 25, 2024
1 parent b4cb6d0 commit cbeb3f2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dlt/sources/helpers/rest_client/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,15 +151,13 @@ class OAuth2ImplicitFlow(OAuth2AuthBase):

def __init__(
self,
access_token_url: str,
access_token_request_data: Dict[str, Any],
client_id: TSecretStrValue,
client_secret: TSecretStrValue,
default_token_expiration: int = 3600,
) -> None:
super().__init__()
self.access_token_request_data = access_token_request_data
self.access_token_url = access_token_url
self.client_id = client_id
self.client_secret = client_secret
self.default_token_expiration = default_token_expiration
Expand Down

0 comments on commit cbeb3f2

Please sign in to comment.