@@ -296,16 +296,20 @@ def __init__(self, consumer_key, consumer_secret=None, locale=None, token_access
296
296
By default, the server uses "en_US".
297
297
:param str token_access_type: the type of token to be requested.
298
298
From the following enum:
299
+
299
300
* legacy - creates one long-lived token with no expiration
300
301
* online - create one short-lived token with an expiration
301
302
* offline - create one short-lived token with an expiration with a refresh token
303
+
302
304
:param list scope: list of scopes to request in base oauth flow. If left blank,
303
305
will default to all scopes for app.
304
306
:param str include_granted_scopes: which scopes to include from previous grants
305
307
From the following enum:
308
+
306
309
* user - include user scopes in the grant
307
310
* team - include team scopes in the grant
308
311
* Note: if this user has never linked the app, include_granted_scopes must be None
312
+
309
313
:param bool use_pkce: Whether or not to use Sha256 based PKCE. PKCE should be only use on
310
314
client apps which doesn't call your server. It is less secure than non-PKCE flow but
311
315
can be used if you are unable to safely retrieve your app secret.
@@ -390,16 +394,20 @@ def __init__(self, consumer_key, redirect_uri, session,
390
394
By default, the server uses "en_US".
391
395
:param str token_access_type: the type of token to be requested.
392
396
From the following enum:
397
+
393
398
* legacy - creates one long-lived token with no expiration
394
399
* online - create one short-lived token with an expiration
395
400
* offline - create one short-lived token with an expiration with a refresh token
401
+
396
402
:param list scope: list of scopes to request in base oauth flow. If left blank,
397
403
will default to all scopes for app.
398
404
:param str include_granted_scopes: which scopes to include from previous grants
399
405
From the following enum:
406
+
400
407
* user - include user scopes in the grant
401
408
* team - include team scopes in the grant
402
- Note: if this user has never linked the app, include_granted_scopes must be None
409
+ * Note: if this user has never linked the app, include_granted_scopes must be None
410
+
403
411
:param bool use_pkce: Whether or not to use Sha256 based PKCE
404
412
:param Optional[float] timeout: Maximum duration in seconds that
405
413
client will wait for any single packet from the
0 commit comments