Sha256: a89aacfd0e7c00da2068c3a6aad2f35ca3f58c985c918a12d773d815191b6011
Contents?: true
Size: 1.36 KB
Versions: 3
Compression:
Stored size: 1.36 KB
Contents
# frozen_string_literal: true # This file was auto-generated by lib/tasks/web.rake module Slack module Cli class App desc 'AppsAuthExternal methods.' command 'apps_auth_external' do |g| g.desc 'Delete external auth tokens only on the Slack side' g.long_desc %( Delete external auth tokens only on the Slack side ) g.command 'delete' do |c| c.flag 'app_id', desc: 'The id of the app whose tokens you want to delete.' c.flag 'external_token_id', desc: 'The id of the token that you want to delete.' c.flag 'provider_key', desc: 'The provider key of the provider whose tokens you want to delete.' c.action do |_global_options, options, _args| puts JSON.dump(@client.apps_auth_external_delete(options)) end end g.desc 'Get the access token for the provided token ID' g.long_desc %( Get the access token for the provided token ID ) g.command 'get' do |c| c.flag 'external_token_id', desc: 'The id of the token you want to get the token for.' c.flag 'force_refresh', desc: 'Always refresh existing token before returning even when the token has not expired.' c.action do |_global_options, options, _args| puts JSON.dump(@client.apps_auth_external_get(options)) end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-client-2.4.0 | bin/commands/apps_auth_external.rb |
slack-ruby-client-2.3.0 | bin/commands/apps_auth_external.rb |
slack-ruby-client-2.2.0 | bin/commands/apps_auth_external.rb |