module Slack::Endpoint::Auth

Public Instance Methods

auth_revoke(options={}) click to toggle source

Revokes a token.

@option options [Object] :test

Setting this parameter to 1 triggers a testing mode where the specified token will not actually be revoked.

@see api.slack.com/methods/auth.revoke @see github.com/aki017/slack-api-docs/blob/master/methods/auth.revoke.md @see github.com/aki017/slack-api-docs/blob/master/methods/auth.revoke.json

# File lib/slack/endpoint/auth.rb, line 14
def auth_revoke(options={})
  post("auth.revoke", options)
end
auth_test(options={}) click to toggle source

Checks authentication & identity.

@see api.slack.com/methods/auth.test @see github.com/aki017/slack-api-docs/blob/master/methods/auth.test.md @see github.com/aki017/slack-api-docs/blob/master/methods/auth.test.json

# File lib/slack/endpoint/auth.rb, line 24
def auth_test(options={})
  post("auth.test", options)
end