class OAuth2::Strategy::Base
Public Class Methods
new(client)
click to toggle source
# File lib/oauth2/strategy/base.rb, line 4 def initialize(client) @client = client end
Public Instance Methods
client_params()
click to toggle source
The OAuth client_id and client_secret
@return [Hash]
# File lib/oauth2/strategy/base.rb, line 11 def client_params { "client_id" => @client.id, "client_secret" => @client.secret } end