UNPKG

2.44 kBTypeScriptView Raw
1import { GoogleAuth } from './auth/googleauth';
2export * as gcpMetadata from 'gcp-metadata';
3export * as gaxios from 'gaxios';
4import { AuthClient } from './auth/authclient';
5export { AuthClient, DEFAULT_UNIVERSE } from './auth/authclient';
6export { Compute, ComputeOptions } from './auth/computeclient';
7export { CredentialBody, CredentialRequest, Credentials, JWTInput, } from './auth/credentials';
8export { GCPEnv } from './auth/envDetect';
9export { GoogleAuthOptions, ProjectIdCallback } from './auth/googleauth';
10export { IAMAuth, RequestMetadata } from './auth/iam';
11export { IdTokenClient, IdTokenProvider } from './auth/idtokenclient';
12export { Claims, JWTAccess } from './auth/jwtaccess';
13export { JWT, JWTOptions } from './auth/jwtclient';
14export { Impersonated, ImpersonatedOptions } from './auth/impersonated';
15export { Certificates, CodeChallengeMethod, CodeVerifierResults, GenerateAuthUrlOpts, GetTokenOptions, OAuth2Client, OAuth2ClientOptions, RefreshOptions, TokenInfo, VerifyIdTokenOptions, ClientAuthentication, } from './auth/oauth2client';
16export { LoginTicket, TokenPayload } from './auth/loginticket';
17export { UserRefreshClient, UserRefreshClientOptions, } from './auth/refreshclient';
18export { AwsClient, AwsClientOptions, AwsSecurityCredentialsSupplier, } from './auth/awsclient';
19export { AwsSecurityCredentials, AwsRequestSigner, } from './auth/awsrequestsigner';
20export { IdentityPoolClient, IdentityPoolClientOptions, SubjectTokenSupplier, } from './auth/identitypoolclient';
21export { ExternalAccountClient, ExternalAccountClientOptions, } from './auth/externalclient';
22export { BaseExternalAccountClient, BaseExternalAccountClientOptions, SharedExternalAccountClientOptions, ExternalAccountSupplierContext, IamGenerateAccessTokenResponse, } from './auth/baseexternalclient';
23export { CredentialAccessBoundary, DownscopedClient, } from './auth/downscopedclient';
24export { PluggableAuthClient, PluggableAuthClientOptions, ExecutableError, } from './auth/pluggable-auth-client';
25export { PassThroughClient } from './auth/passthrough';
26export { DefaultTransporter } from './transporters';
27type ALL_EXPORTS = (typeof import('./'))[keyof typeof import('./')];
28/**
29 * A union type for all {@link AuthClient `AuthClient`}s.
30 */
31export type AnyAuthClient = InstanceType<Extract<ALL_EXPORTS, typeof AuthClient>>;
32declare const auth: GoogleAuth<import("./auth/googleauth").JSONClient>;
33export { auth, GoogleAuth };