ci.d.ts 394 B

1234567891011
  1. import type { IdentityProvider } from './provider';
  2. /**
  3. * CIContextProvider is a composite identity provider which will iterate
  4. * over all of the CI-specific providers and return the token from the first
  5. * one that resolves.
  6. */
  7. export declare class CIContextProvider implements IdentityProvider {
  8. private audience;
  9. constructor(audience?: string);
  10. getToken(): Promise<string>;
  11. }