Module: Nucleus::Adapters::V1::CloudFoundryV2::Authentication

Included in:
Nucleus::Adapters::V1::CloudFoundryV2
Defined in:
lib/nucleus/adapters/v1/cloud_foundry_v2/authentication.rb

Overview

Authentication functionality to support the Cloud Foundry API

Instance Method Summary collapse

Instance Method Details

#auth_clientObject

See Also:



8
9
10
11
12
# File 'lib/nucleus/adapters/v1/cloud_foundry_v2/authentication.rb', line 8

def auth_client
  auth_endpoint = endpoint_info[:authorization_endpoint]
  log.debug "Authenticate @ #{auth_endpoint}/oauth/token"
  OAuth2AuthClient.new("#{auth_endpoint}/oauth/token", @check_certificates)
end