Skip to content

Commit eb237ad

Browse files
committed
Update oauth settings constructor comments
1 parent b92bd2a commit eb237ad

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

slack_bolt/oauth/async_oauth_settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ def __init__(
9999
authorization_url: Set a URL if you want to customize the URL `https://slack.com/oauth/v2/authorize`
100100
installation_store: Specify the instance of `InstallationStore` (Default: `FileInstallationStore`)
101101
installation_store_bot_only: Use `InstallationStore#find_bot()` if True (Default: False)
102+
token_rotation_expiration_minutes: Minutes before refreshing tokens (Default: 2 hours)
102103
state_store: Specify the instance of `InstallationStore` (Default: `FileOAuthStateStore`)
103104
state_cookie_name: The cookie name that is set for installers' browser. (Default: "slack-app-oauth-state")
104105
state_expiration_seconds: The seconds that the state value is alive (Default: 600 seconds)

slack_bolt/oauth/oauth_settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def __init__(
9494
authorization_url: Set a URL if you want to customize the URL `https://slack.com/oauth/v2/authorize`
9595
installation_store: Specify the instance of `InstallationStore` (Default: `FileInstallationStore`)
9696
installation_store_bot_only: Use `InstallationStore#find_bot()` if True (Default: False)
97+
token_rotation_expiration_minutes: Minutes before refreshing tokens (Default: 2 hours)
9798
state_store: Specify the instance of `InstallationStore` (Default: `FileOAuthStateStore`)
9899
state_cookie_name: The cookie name that is set for installers' browser. (Default: "slack-app-oauth-state")
99100
state_expiration_seconds: The seconds that the state value is alive (Default: 600 seconds)

0 commit comments

Comments
 (0)