Skip to content

Commit

Permalink
chore: oauth sdk implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
manisha1997 committed Jul 9, 2024
1 parent f429196 commit a1521dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twilio/http/token_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class TokenManager:

@classmethod
def init(cls, grant_type: str, client_id: str, client_secret: str, code: str = None, redirect_uri: str = None, audience: str = None, refreshToken: str = None, scope: str = None, tokenManager: OrgTokenManager = None):
if tokenManager is not None:
if tokenManager is None:
cls.org_token_manager = OrgTokenManager(grant_type, client_id, client_secret, code, redirect_uri, audience, refreshToken, scope)
else:
cls.org_token_manager = tokenManager
Expand Down

0 comments on commit a1521dd

Please sign in to comment.