Skip to content

Commit ccdc42b

Browse files
committed
support refresh token expires in
1 parent 6c16cb1 commit ccdc42b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

aiogoogle/auth/creds.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ class UserCreds(_dict):
151151
152152
access_token (str): Access Token
153153
refresh_token (str): Refresh Token
154+
refresh_token_expires_in (int): seconds till refresh token expiry from creation
154155
expires_in (int): seconds till expiry from creation
155156
expires_at (str): JSON datetime ISO 8601 expiry datetime
156157
scopes (list): list of scopes owned by access token
@@ -169,6 +170,7 @@ def __init__(
169170
self,
170171
access_token=None,
171172
refresh_token=None,
173+
refresh_token_expires_in=None,
172174
expires_in=None,
173175
expires_at=None,
174176
scopes=None,
@@ -181,6 +183,7 @@ def __init__(
181183
):
182184
self.access_token = access_token
183185
self.refresh_token = refresh_token
186+
self.refresh_token_expires_in = refresh_token_expires_in
184187
self.expires_in = expires_in
185188
self.expires_at = expires_at
186189
self.scopes = scopes

0 commit comments

Comments
 (0)