Class: Aws::TokenProviderChain Private
- Inherits:
- 
      Object
      
        - Object
- Aws::TokenProviderChain
 
- Defined in:
- lib/aws-sdk-core/token_provider_chain.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- 
  
    
      #initialize(config = nil)  ⇒ TokenProviderChain 
    
    
  
  
  
    constructor
  
  
  
  
  
  private
  
    A new instance of TokenProviderChain. 
- #resolve ⇒ TokenProvider? private
Constructor Details
#initialize(config = nil) ⇒ TokenProviderChain
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of TokenProviderChain.
| 6 7 8 | # File 'lib/aws-sdk-core/token_provider_chain.rb', line 6 def initialize(config = nil) @config = config end | 
Instance Method Details
#resolve ⇒ TokenProvider?
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 11 12 13 14 15 16 17 | # File 'lib/aws-sdk-core/token_provider_chain.rb', line 11 def resolve providers.each do |method_name, | provider = send(method_name, .merge(config: @config)) return provider if provider && provider.set? end nil end |