Slack v0.23.5 Slack.Web.Auth View Source

Link to this section Summary

Functions

Checks authentication & identity

Link to this section Functions

Link to this function

revoke(optional_params \\ %{}) View Source

Revokes a token.

Optional Params

  • test - Setting this parameter to 1 triggers a testing mode where the specified token will not actually be revoked. ex: true

Errors the API can return:

  • invalid_auth - Some aspect of authentication cannot be validated. Either the provided token is invalid or the request originates from an IP address disallowed from making the request.
  • not_authed - No authentication token provided.
  • not_bearer_token - Incompatible token type provided
Link to this function

test(optional_params \\ %{}) View Source

Checks authentication & identity.

Errors the API can return: