Method: DHC::Auth#before_request

Defined in:
lib/dhc/interceptors/auth.rb

#before_requestObject



12
13
14
15
# File 'lib/dhc/interceptors/auth.rb', line 12

def before_request
  bearer_authentication! if auth_options[:bearer]
  basic_authentication! if auth_options[:basic]
end