module Slack::Web::Api::Endpoints::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/slack-ruby/slack-api-ref/blob/master/methods/auth/auth.revoke.json
# File lib/slack/web/api/endpoints/auth.rb, line 15 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/slack-ruby/slack-api-ref/blob/master/methods/auth/auth.test.json
# File lib/slack/web/api/endpoints/auth.rb, line 24 def auth_test(options = {}) post('auth.test', options) end