git-off

git off handles large files in git repos
git clone https://noulin.net/git/git-off.git
Log | Files | Refs | README

credential_provider_chain.d.ts (927B)


      1 import {Credentials} from '../credentials';
      2 import {AWSError} from '../error';
      3 export class CredentialProviderChain extends Credentials {
      4     /**
      5      * Creates a new CredentialProviderChain with a default set of providers specified by defaultProviders.
      6      */
      7     constructor(providers: provider[])
      8     /**
      9      * Resolves the provider chain by searching for the first set of credentials in providers.
     10      */
     11     resolve(callback:(err: AWSError, credentials: Credentials) => void): CredentialProviderChain;
     12     /**
     13      * 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.
     14      */
     15     providers: Credentials[]|provider[];
     16 
     17     static defaultProviders: provider[]
     18 }
     19 
     20 type provider = () => Credentials;