Method: OpenapiClient::Configuration#auth_settings
- Defined in:
- lib/openapi_client/configuration.rb
#auth_settings ⇒ Object
Returns Auth Settings hash for api client.
217 218 219 220 221 222 223 224 225 226 227 228 |
# File 'lib/openapi_client/configuration.rb', line 217 def auth_settings { 'HTTPBearer' => { type: 'bearer', in: 'header', format: 'JWT', key: 'Authorization', value: "Bearer #{access_token}" }, } end |