Sha256: 8534db4e3eefb3c29669748745728e825caa7074f0b1ac31f8bd67486c5c1ed4

Contents?: true

Size: 535 Bytes

Versions: 3

Compression:

Stored size: 535 Bytes

Contents

module Nucleus
  module Adapters
    module V1
      class CloudFoundryV2 < Stub
        # Authentication functionality to support the Cloud Foundry API
        module Authentication
          # @see Stub#auth_client
          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
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nucleus-0.3.1 lib/nucleus/adapters/v1/cloud_foundry_v2/authentication.rb
nucleus-0.2.0 lib/nucleus/adapters/v1/cloud_foundry_v2/authentication.rb
nucleus-0.1.0 lib/nucleus/adapters/v1/cloud_foundry_v2/authentication.rb