Class: Asdawqw::CustomQueryAuth
- Inherits:
-
Object
- Object
- Asdawqw::CustomQueryAuth
- Defined in:
- lib/asdawqw/http/auth/custom_query_auth.rb
Overview
Utility class for custom query_parameter authorization.
Class Method Summary collapse
-
.apply(http_request) ⇒ Object
Add custom authentication to the request.
Class Method Details
.apply(http_request) ⇒ Object
Add custom authentication to the request. be added.
12 13 14 |
# File 'lib/asdawqw/http/auth/custom_query_auth.rb', line 12 def self.apply(http_request) http_request.add_query_parameter('jwt', Configuration.jwt) end |