Method: PureCloud::Configuration#auth_settings
- Defined in:
- lib/purecloud/configuration.rb
#auth_settings ⇒ Object
Returns Auth Settings hash for api client.
158 159 160 161 162 163 164 165 166 167 168 |
# File 'lib/purecloud/configuration.rb', line 158 def auth_settings { 'PureCloud Auth' => { type: 'oauth2', in: 'header', key: 'Authorization', value: "Bearer #{access_token}" }, } end |