Class DefaultAWSTokenProviderChain
Combines the recommended IAWSTokenProvider into a AWSTokenProviderChain.
Configuration parameters for each IAWSTokenProvider are exposed here to simplify configuration.var exampleServiceClientConfig = new ExampleServiceClientConfig
{
   AWSTokenProvider = new DefaultAWSTokenProviderChain
   {
      ProfileName = "my-sso-profile"
   }
} 
public class DefaultAWSTokenProviderChain : IAWSTokenProvider
  - Inheritance
 - 
      
      DefaultAWSTokenProviderChain
 
- Implements
 
- Inherited Members
 
Constructors
DefaultAWSTokenProviderChain()
public DefaultAWSTokenProviderChain()
  Properties
ProfileName
Used to initialize ProfileTokenProvider.
public string ProfileName { get; set; }
  Property Value
Methods
TryResolveTokenAsync(CancellationToken)
Attempts to load an AWSToken.
NOTE: In some extreme circumstances, providers may throw an exception.public Task<TryResponse<AWSToken>> TryResolveTokenAsync(CancellationToken cancellationToken = default)
  Parameters
cancellationTokenCancellationToken