Table of Contents

Interface IAWSTokenProvider

Namespace
Amazon.Runtime
Assembly
AWSSDK.Core.dll
public interface IAWSTokenProvider

Remarks

Any class that can provide a AWSToken. Intended to be consumed by BearerTokenSigner as part of signing.

See BearerTokenSigner for more details.

Methods

TryResolveTokenAsync(CancellationToken)

Attempts to load an AWSToken.

NOTE: In some extreme circumstances, providers may throw an exception.
Task<TryResponse<AWSToken>> TryResolveTokenAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task<TryResponse<AWSToken>>