Module: HTTPX::Plugins::OAuth

Defined in:
lib/httpx/plugins/oauth.rb

Overview

Defined Under Namespace

Modules: InstanceMethods, OptionsMethods Classes: OAuthSession

Constant Summary collapse

SUPPORTED_GRANT_TYPES =
%w[client_credentials refresh_token].freeze
SUPPORTED_AUTH_METHODS =
%w[client_secret_basic client_secret_post].freeze

Class Method Summary collapse

Class Method Details

.load_dependencies(_klass) ⇒ Object



10
11
12
# File 'lib/httpx/plugins/oauth.rb', line 10

def load_dependencies(_klass)
  require_relative "auth/basic"
end