/
var
/
www
/
qr4y.com
/
server
/
delivery
/
node_modules
/
google-auth-library
/
build
/
src
/
auth
/
/var/www/qr4y.com/server/delivery/node_modules/google-auth-library/build/src/auth
mkdir
upload
Name
Size
Mode
Actions
authclient.d.ts
4018
0644
edit
dl
rm
authclient.js
2144
0644
edit
dl
rm
awsclient.d.ts
4190
0644
edit
dl
rm
awsclient.js
10953
0644
edit
dl
rm
awsrequestsigner.d.ts
1630
0644
edit
dl
rm
awsrequestsigner.js
9296
0644
edit
dl
rm
baseexternalclient.d.ts
9385
0644
edit
dl
rm
baseexternalclient.js
19839
0644
edit
dl
rm
computeclient.d.ts
1345
0644
edit
dl
rm
computeclient.js
4442
0644
edit
dl
rm
credentials.d.ts
2276
0644
edit
dl
rm
credentials.js
704
0644
edit
dl
rm
downscopedclient.d.ts
6540
0644
edit
dl
rm
downscopedclient.js
13166
0644
edit
dl
rm
envDetect.d.ts
324
0644
edit
dl
rm
envDetect.js
2667
0644
edit
dl
rm
externalclient.d.ts
1265
0644
edit
dl
rm
externalclient.js
2636
0644
edit
dl
rm
googleauth.d.ts
11057
0644
edit
dl
rm
googleauth.js
28640
0644
edit
dl
rm
iam.d.ts
623
0644
edit
dl
rm
iam.js
1348
0644
edit
dl
rm
identitypoolclient.d.ts
3700
0644
edit
dl
rm
identitypoolclient.js
7567
0644
edit
dl
rm
idtokenclient.d.ts
896
0644
edit
dl
rm
idtokenclient.js
2088
0644
edit
dl
rm
impersonated.d.ts
3883
0644
edit
dl
rm
impersonated.js
5797
0644
edit
dl
rm
jwtaccess.d.ts
2409
0644
edit
dl
rm
jwtaccess.js
6987
0644
edit
dl
rm
jwtclient.d.ts
3833
0644
edit
dl
rm
jwtclient.js
9960
0644
edit
dl
rm
loginticket.d.ts
5367
0644
edit
dl
rm
loginticket.js
1768
0644
edit
dl
rm
oauth2client.d.ts
22189
0644
edit
dl
rm
oauth2client.js
30818
0644
edit
dl
rm
oauth2common.d.ts
3393
0644
edit
dl
rm
oauth2common.js
7734
0644
edit
dl
rm
refreshclient.d.ts
1675
0644
edit
dl
rm
refreshclient.js
4140
0644
edit
dl
rm
stscredentials.d.ts
4636
0644
edit
dl
rm
stscredentials.js
4886
0644
edit
dl
rm
Edit:
/var/www/qr4y.com/server/delivery/node_modules/google-auth-library/build/src/auth/authclient.d.ts
(4018B)
/// <reference types="node" /> import { EventEmitter } from 'events'; import { GaxiosOptions, GaxiosPromise, GaxiosResponse } from 'gaxios'; import { DefaultTransporter } from '../transporters'; import { Credentials } from './credentials'; import { Headers } from './oauth2client'; /** * Defines the root interface for all clients that generate credentials * for calling Google APIs. All clients should implement this interface. */ export interface CredentialsClient { /** * The project ID corresponding to the current credentials if available. */ projectId?: string | null; /** * The expiration threshold in milliseconds before forcing token refresh. */ eagerRefreshThresholdMillis: number; /** * Whether to force refresh on failure when making an authorization request. */ forceRefreshOnFailure: boolean; /** * @return A promise that resolves with the current GCP access token * response. If the current credential is expired, a new one is retrieved. */ getAccessToken(): Promise<{ token?: string | null; res?: GaxiosResponse | null; }>; /** * The main authentication interface. It takes an optional url which when * present is the endpoint being accessed, and returns a Promise which * resolves with authorization header fields. * * The result has the form: * { Authorization: 'Bearer <access_token_value>' } * @param url The URI being authorized. */ getRequestHeaders(url?: string): Promise<Headers>; /** * Provides an alternative Gaxios request implementation with auth credentials */ request<T>(opts: GaxiosOptions): GaxiosPromise<T>; /** * Sets the auth credentials. */ setCredentials(credentials: Credentials): void; /** * Subscribes a listener to the tokens event triggered when a token is * generated. * * @param event The tokens event to subscribe to. * @param listener The listener that triggers on event trigger. * @return The current client instance. */ on(event: 'tokens', listener: (tokens: Credentials) => void): this; } export declare interface AuthClient { on(event: 'tokens', listener: (tokens: Credentials) => void): this; } export declare abstract class AuthClient extends EventEmitter implements CredentialsClient { protected quotaProjectId?: string; transporter: DefaultTransporter; credentials: Credentials; projectId?: string | null; eagerRefreshThresholdMillis: number; forceRefreshOnFailure: boolean; /** * Provides an alternative Gaxios request implementation with auth credentials */ abstract request<T>(opts: GaxiosOptions): GaxiosPromise<T>; /** * The main authentication interface. It takes an optional url which when * present is the endpoint being accessed, and returns a Promise which * resolves with authorization header fields. * * The result has the form: * { Authorization: 'Bearer <access_token_value>' } * @param url The URI being authorized. */ abstract getRequestHeaders(url?: string): Promise<Headers>; /** * @return A promise that resolves with the current GCP access token * response. If the current credential is expired, a new one is retrieved. */ abstract getAccessToken(): Promise<{ token?: string | null; res?: GaxiosResponse | null; }>; /** * Sets the auth credentials. */ setCredentials(credentials: Credentials): void; /** * Append additional headers, e.g., x-goog-user-project, shared across the * classes inheriting AuthClient. This method should be used by any method * that overrides getRequestMetadataAsync(), which is a shared helper for * setting request information in both gRPC and HTTP API calls. * * @param headers object to append additional headers to. */ protected addSharedMetadataHeaders(headers: Headers): Headers; }
Save
cmd:
run