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