lib/uaa/token_issuer.rb in cf-uaa-lib-1.3.10 vs lib/uaa/token_issuer.rb in cf-uaa-lib-2.0.0
- old
+ new
@@ -107,9 +107,11 @@
# * +:symbolize_keys+, if true, returned hash keys are symbols.
def initialize(target, client_id, client_secret = nil, options = {})
@target, @client_id, @client_secret = target, client_id, client_secret
@token_target = options[:token_target] || target
@key_style = options[:symbolize_keys] ? :sym : nil
+ self.http_proxy = options[:http_proxy]
+ self.https_proxy = options[:https_proxy]
end
# Allows an app to discover what credentials are required for
# {#implicit_grant_with_creds}.
# @return [Hash] of credential names with type and suggested prompt value,