src.bot.oauth_server module¶
- src.bot.oauth_server.get_db()[source]¶
Return the MongoDB installations collection, creating the client lazily on first call.
- src.bot.oauth_server.install()[source]¶
Redirect the browser to the Slack OAuth v2 authorization URL to begin app installation.
- src.bot.oauth_server.oauth_redirect()[source]¶
Complete the OAuth v2 flow, exchange the code for a token, and persist the installation to MongoDB.