Slack v0.2.1 Slack.OAuth View Source
Functions for handling OAuth code/token exchange
Link to this section Summary
Functions
Exchange an OAuth code for a Slack API access token.
Link to this section Functions
Link to this function
access(params \\ [])
View Sourceaccess(Keyword.t()) :: Slack.slack_response()
Exchange an OAuth code for a Slack API access token.
https://api.slack.com/methods/oauth.access
Examples
Slack.OAuth.access(
client_id: "client_id", client_secret: "client_secret", code: "code")