Method: DHC::Auth#before_request
- Defined in:
- lib/dhc/interceptors/auth.rb
#before_request ⇒ Object
12 13 14 15 |
# File 'lib/dhc/interceptors/auth.rb', line 12 def before_request bearer_authentication! if [:bearer] basic_authentication! if [:basic] end |