Method: Hubspot::Cms::Blogs::BlogPosts::Configuration#auth_settings

Defined in:
lib/hubspot/codegen/cms/blogs/blog_posts/configuration.rb

#auth_settingsObject

Returns Auth Settings hash for api client.



224
225
226
227
228
229
230
231
232
233
234
# File 'lib/hubspot/codegen/cms/blogs/blog_posts/configuration.rb', line 224

def auth_settings
  {
    'oauth2' =>
      {
        type: 'oauth2',
        in: 'header',
        key: 'Authorization',
        value: "Bearer #{access_token}"
      },
  }
end