C# Class Amazon.Runtime.RefreshingAWSCredentials

Abstract class for automatically refreshing AWS credentials
Inheritance: AWSCredentials
Mostra file Open project: scopely/aws-sdk-net

Private Properties

Property Type Description

Public Methods

Method Description
GetCredentials ( ) : ImmutableCredentials

Returns an instance of ImmutableCredentials for this instance

Protected Methods

Method Description
GenerateNewCredentials ( ) : CredentialsRefreshState

When overridden in a derived class, generates new credentials and new expiration date. Called on first credentials request and when expiration date is in the past.

Method Details

GenerateNewCredentials() protected method

When overridden in a derived class, generates new credentials and new expiration date. Called on first credentials request and when expiration date is in the past.
protected GenerateNewCredentials ( ) : CredentialsRefreshState
return CredentialsRefreshState

GetCredentials() public method

Returns an instance of ImmutableCredentials for this instance
public GetCredentials ( ) : ImmutableCredentials
return ImmutableCredentials