Slack v0.2.1 Slack.Auth View Source
Functions for dealing with access tokens
Link to this section Summary
Link to this section Functions
Link to this function
revoke(client, body \\ [])
View Sourcerevoke(Slack.Client.t(), Keyword.t()) :: Slack.slack_response()
Revoke an access token.
https://api.slack.com/methods/auth.revoke
Examples
Slack.client(token)
|> Slack.Auth.revoke
Link to this function
test(client, body \\ [])
View Sourcetest(Slack.Client.t(), Keyword.t()) :: Slack.slack_response()
Check and identity an access token.
https://api.slack.com/methods/auth.test
Examples
Slack.client(token)
|> Slack.Auth.test