Skip to content

Commit

Permalink
feat: return refresh_token on refresh token authentication (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulisses1478 committed Mar 10, 2021
1 parent 190108f commit 1952bc0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pynubank/nubank.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ def authenticate_with_refresh_token(self, refresh_token: str, cert_path: str):

self._save_auth_data(response)

return response.get('refresh_token')

def revoke_token(self):
self._client.post(self._revoke_token_url, {})

Expand Down

0 comments on commit 1952bc0

Please sign in to comment.