/
var
/
www
/
greso.tech
/
server
/
nsm
/
node_modules
/
google-auth-library
/
build
/
src
/
auth
/
/var/www/greso.tech/server/nsm/node_modules/google-auth-library/build/src/auth
mkdir
upload
Name
Size
Mode
Actions
authclient.d.ts
4204
0644
edit
dl
rm
authclient.js
2144
0644
edit
dl
rm
awsclient.d.ts
4441
0644
edit
dl
rm
awsclient.js
12190
0644
edit
dl
rm
awsrequestsigner.d.ts
1626
0644
edit
dl
rm
awsrequestsigner.js
9296
0644
edit
dl
rm
baseexternalclient.d.ts
9301
0644
edit
dl
rm
baseexternalclient.js
18085
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
executable-response.d.ts
4489
0644
edit
dl
rm
executable-response.js
6714
0644
edit
dl
rm
externalAccountAuthorizedUserClient.d.ts
3426
0644
edit
dl
rm
externalAccountAuthorizedUserClient.js
10155
0644
edit
dl
rm
externalclient.d.ts
1356
0644
edit
dl
rm
externalclient.js
2979
0644
edit
dl
rm
googleauth.d.ts
11626
0644
edit
dl
rm
googleauth.js
28883
0644
edit
dl
rm
iam.d.ts
623
0644
edit
dl
rm
iam.js
1348
0644
edit
dl
rm
identitypoolclient.d.ts
3692
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
4769
0644
edit
dl
rm
impersonated.js
6875
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
10050
0644
edit
dl
rm
loginticket.d.ts
5367
0644
edit
dl
rm
loginticket.js
1768
0644
edit
dl
rm
oauth2client.d.ts
22521
0644
edit
dl
rm
oauth2client.js
31312
0644
edit
dl
rm
oauth2common.d.ts
3377
0644
edit
dl
rm
oauth2common.js
7734
0644
edit
dl
rm
pluggable-auth-client.d.ts
5983
0644
edit
dl
rm
pluggable-auth-client.js
9926
0644
edit
dl
rm
pluggable-auth-handler.d.ts
1842
0644
edit
dl
rm
pluggable-auth-handler.js
6824
0644
edit
dl
rm
refreshclient.d.ts
1743
0644
edit
dl
rm
refreshclient.js
4231
0644
edit
dl
rm
stscredentials.d.ts
4636
0644
edit
dl
rm
stscredentials.js
4886
0644
edit
dl
rm
Edit:
/var/www/greso.tech/server/nsm/node_modules/google-auth-library/build/src/auth/oauth2common.d.ts
(3377B)
import { GaxiosOptions } from 'gaxios'; /** * OAuth error codes. * https://tools.ietf.org/html/rfc6749#section-5.2 */ type OAuthErrorCode = 'invalid_request' | 'invalid_client' | 'invalid_grant' | 'unauthorized_client' | 'unsupported_grant_type' | 'invalid_scope' | string; /** * The standard OAuth error response. * https://tools.ietf.org/html/rfc6749#section-5.2 */ export interface OAuthErrorResponse { error: OAuthErrorCode; error_description?: string; error_uri?: string; } /** * OAuth client authentication types. * https://tools.ietf.org/html/rfc6749#section-2.3 */ export type ConfidentialClientType = 'basic' | 'request-body'; /** * Defines the client authentication credentials for basic and request-body * credentials. * https://tools.ietf.org/html/rfc6749#section-2.3.1 */ export interface ClientAuthentication { confidentialClientType: ConfidentialClientType; clientId: string; clientSecret?: string; } /** * Abstract class for handling client authentication in OAuth-based * operations. * When request-body client authentication is used, only application/json and * application/x-www-form-urlencoded content types for HTTP methods that support * request bodies are supported. */ export declare abstract class OAuthClientAuthHandler { private readonly clientAuthentication?; private crypto; /** * Instantiates an OAuth client authentication handler. * @param clientAuthentication The client auth credentials. */ constructor(clientAuthentication?: ClientAuthentication | undefined); /** * Applies client authentication on the OAuth request's headers or POST * body but does not process the request. * @param opts The GaxiosOptions whose headers or data are to be modified * depending on the client authentication mechanism to be used. * @param bearerToken The optional bearer token to use for authentication. * When this is used, no client authentication credentials are needed. */ protected applyClientAuthenticationOptions(opts: GaxiosOptions, bearerToken?: string): void; /** * Applies client authentication on the request's header if either * basic authentication or bearer token authentication is selected. * * @param opts The GaxiosOptions whose headers or data are to be modified * depending on the client authentication mechanism to be used. * @param bearerToken The optional bearer token to use for authentication. * When this is used, no client authentication credentials are needed. */ private injectAuthenticatedHeaders; /** * Applies client authentication on the request's body if request-body * client authentication is selected. * * @param opts The GaxiosOptions whose headers or data are to be modified * depending on the client authentication mechanism to be used. */ private injectAuthenticatedRequestBody; } /** * Converts an OAuth error response to a native JavaScript Error. * @param resp The OAuth error response to convert to a native Error object. * @param err The optional original error. If provided, the error properties * will be copied to the new error. * @return The converted native Error object. */ export declare function getErrorFromOAuthErrorResponse(resp: OAuthErrorResponse, err?: Error): Error; export {};
Save
cmd:
run