bin/commands/oauth_v2.rb in slack-ruby-client-2.3.0 vs bin/commands/oauth_v2.rb in slack-ruby-client-2.4.0
- old
+ new
@@ -7,11 +7,11 @@
desc 'OauthV2 methods.'
command 'oauth_v2' do |g|
g.desc 'Exchanges a temporary OAuth verifier code for an access token.'
g.long_desc %( Exchanges a temporary OAuth verifier code for an access token. )
g.command 'access' do |c|
- c.flag 'client_id', desc: 'Issued when you created your application.'
- c.flag 'client_secret', desc: 'Issued when you created your application.'
+ c.flag 'client_id', desc: 'Issued when you created your application. If possible, avoid sending client_id and client_secret as parameters in your request and instead supply the Client ID and Client Secret using the HTTP Basic authentication scheme.'
+ c.flag 'client_secret', desc: 'Issued when you created your application. If possible, avoid sending client_id and client_secret as parameters in your request and instead supply the Client ID and Client Secret using the HTTP Basic authentication scheme.'
c.flag 'code', desc: 'The code param returned via the OAuth callback.'
c.flag 'grant_type', desc: 'The grant_type param as described in the OAuth spec.'
c.flag 'redirect_uri', desc: 'This must match the originally submitted URI (if one was sent).'
c.flag 'refresh_token', desc: 'The refresh_token param as described in the OAuth spec.'
c.action do |_global_options, options, _args|