# File lib/twitter/rest/oauth.rb, line 26 def token(options = {}) options[:bearer_token_request] = true options[:grant_type] ||= 'client_credentials' perform_post_with_object('/oauth2/token', options, Twitter::Token) end