Sha256: b3c608f5b59edf22e824c9b4ad290e003552d41c456bb10f77c4cdaea0eaed15
Contents?: true
Size: 927 Bytes
Versions: 35
Compression:
Stored size: 927 Bytes
Contents
import {Credentials} from '../credentials'; import {AWSError} from '../error'; export class CredentialProviderChain extends Credentials { /** * Creates a new CredentialProviderChain with a default set of providers specified by defaultProviders. */ constructor(providers: provider[]) /** * Resolves the provider chain by searching for the first set of credentials in providers. */ resolve(callback:(err: AWSError, credentials: Credentials) => void): CredentialProviderChain; /** * Returns a list of credentials objects or functions that return credentials objects. If the provider is a function, the function will be executed lazily when the provider needs to be checked for valid credentials. By default, this object will be set to the defaultProviders. */ providers: Credentials[]|provider[]; static defaultProviders: provider[] } type provider = () => Credentials;
Version data entries
35 entries across 35 versions & 1 rubygems