module Nucleus::Adapters::V1::CloudFoundryV2::Authentication

Authentication functionality to support the Cloud Foundry API

Public Instance Methods

auth_client() click to toggle source

@see Stub#auth_client

# 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