Method: DHC::Auth#before_init

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

#before_initObject



7
8
9
10
# File 'lib/dhc/interceptors/auth.rb', line 7

def before_init
  body_authentication! if auth_options[:body]
  auth_options[:refresh].call if refresh_bearer?
end