Skip to content

Commit

Permalink
fix: complete return type for get_tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
ailinvenerus committed Nov 8, 2023
1 parent c6fe7ef commit 42e8c61
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scribeauth/scribeauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@ def get_tokens(self, **param) -> Tokens | Challenge:
Returns
-------
Tokens -- Dictionary {"refresh_token": "str", "access_token": "str", "id_token": "str"}
or
Challenge -- Dictionary { "challenge_name": "str", "session": "str"}
"""
refresh_token = param.get("refresh_token")
username = param.get("username")
Expand Down

0 comments on commit 42e8c61

Please sign in to comment.