class OAuth2::Authenticator
def apply_params_auth(params)
Adds client_id and client_secret request parameters if they are not
def apply_params_auth(params) result = {} result['client_id'] = id unless id.nil? result['client_secret'] = secret unless secret.nil? result.merge(params) end