Module: Slack::Web::Api::Endpoints::Auth
- Included in:
- Slack::Web::Api::Endpoints
- Defined in:
- lib/slack/web/api/endpoints/auth.rb
Instance Method Summary collapse
-
#auth_revoke(options = {}) ⇒ Object
This method revokes an access token.
-
#auth_test(options = {}) ⇒ Object
This method checks authentication and tells you who you are.
Instance Method Details
#auth_revoke(options = {}) ⇒ Object
This method revokes an access token. Use it when you no longer need a token. For example, with a Sign In With Slack app, call this to log a user out.
15 16 17 |
# File 'lib/slack/web/api/endpoints/auth.rb', line 15 def auth_revoke( = {}) post('auth.revoke', ) end |
#auth_test(options = {}) ⇒ Object
This method checks authentication and tells you who you are.
24 25 26 |
# File 'lib/slack/web/api/endpoints/auth.rb', line 24 def auth_test( = {}) post('auth.test', ) end |