/var/www/qr4y.gr/server/delivery/node_modules/google-auth-library/build/src/auth
NameSizeModeActions
authclient.d.ts40180644editdlrm
authclient.js21440644editdlrm
awsclient.d.ts41900644editdlrm
awsclient.js109530644editdlrm
awsrequestsigner.d.ts16300644editdlrm
awsrequestsigner.js92960644editdlrm
baseexternalclient.d.ts93850644editdlrm
baseexternalclient.js198390644editdlrm
computeclient.d.ts13450644editdlrm
computeclient.js44420644editdlrm
credentials.d.ts22760644editdlrm
credentials.js7040644editdlrm
downscopedclient.d.ts65400644editdlrm
downscopedclient.js131660644editdlrm
envDetect.d.ts3240644editdlrm
envDetect.js26670644editdlrm
externalclient.d.ts12650644editdlrm
externalclient.js26360644editdlrm
googleauth.d.ts110570644editdlrm
googleauth.js286400644editdlrm
iam.d.ts6230644editdlrm
iam.js13480644editdlrm
identitypoolclient.d.ts37000644editdlrm
identitypoolclient.js75670644editdlrm
idtokenclient.d.ts8960644editdlrm
idtokenclient.js20880644editdlrm
impersonated.d.ts38830644editdlrm
impersonated.js57970644editdlrm
jwtaccess.d.ts24090644editdlrm
jwtaccess.js69870644editdlrm
jwtclient.d.ts38330644editdlrm
jwtclient.js99600644editdlrm
loginticket.d.ts53670644editdlrm
loginticket.js17680644editdlrm
oauth2client.d.ts221890644editdlrm
oauth2client.js308180644editdlrm
oauth2common.d.ts33930644editdlrm
oauth2common.js77340644editdlrm
refreshclient.d.ts16750644editdlrm
refreshclient.js41400644editdlrm
stscredentials.d.ts46360644editdlrm
stscredentials.js48860644editdlrm
Edit: /var/www/qr4y.gr/server/delivery/node_modules/google-auth-library/build/src/auth/oauth2common.d.ts (3393B)
import { GaxiosOptions } from 'gaxios'; /** * OAuth error codes. * https://tools.ietf.org/html/rfc6749#section-5.2 */ declare 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 declare 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 {};