/opt/canhelp/node_modules/google-auth-library/build/src/auth
NameSizeModeActions
authclient.d.ts107640644editdlrm
authclient.js112470644editdlrm
awsclient.d.ts53150644editdlrm
awsclient.js75560644editdlrm
awsrequestsigner.d.ts16260644editdlrm
awsrequestsigner.js94420644editdlrm
baseexternalclient.d.ts130200644editdlrm
baseexternalclient.js208570644editdlrm
certificatesubjecttokensupplier.d.ts22020644editdlrm
certificatesubjecttokensupplier.js106190644editdlrm
computeclient.d.ts13590644editdlrm
computeclient.js44970644editdlrm
credentials.d.ts23590644editdlrm
credentials.js7040644editdlrm
defaultawssecuritycredentialssupplier.d.ts37950644editdlrm
defaultawssecuritycredentialssupplier.js93300644editdlrm
downscopedclient.d.ts66930644editdlrm
downscopedclient.js123530644editdlrm
envDetect.d.ts3630644editdlrm
envDetect.js28310644editdlrm
executable-response.d.ts44890644editdlrm
executable-response.js75190644editdlrm
externalAccountAuthorizedUserClient.d.ts31730644editdlrm
externalAccountAuthorizedUserClient.js100050644editdlrm
externalclient.d.ts15280644editdlrm
externalclient.js30480644editdlrm
filesubjecttokensupplier.d.ts16080644editdlrm
filesubjecttokensupplier.js35150644editdlrm
googleauth.d.ts235740644editdlrm
googleauth.js363740644editdlrm
iam.d.ts6230644editdlrm
iam.js13730644editdlrm
identitypoolclient.d.ts56260644editdlrm
identitypoolclient.js67750644editdlrm
idtokenclient.d.ts9380644editdlrm
idtokenclient.js21060644editdlrm
impersonated.d.ts56870644editdlrm
impersonated.js86540644editdlrm
jwtaccess.d.ts23360644editdlrm
jwtaccess.js72130644editdlrm
jwtclient.d.ts51220644editdlrm
jwtclient.js112560644editdlrm
loginticket.d.ts53670644editdlrm
loginticket.js17950644editdlrm
oauth2client.d.ts253260644editdlrm
oauth2client.js336620644editdlrm
oauth2common.d.ts40940644editdlrm
oauth2common.js80800644editdlrm
passthrough.d.ts10970644editdlrm
passthrough.js18420644editdlrm
pluggable-auth-client.d.ts54850644editdlrm
pluggable-auth-client.js100020644editdlrm
pluggable-auth-handler.d.ts21090644editdlrm
pluggable-auth-handler.js72600644editdlrm
refreshclient.d.ts34360644editdlrm
refreshclient.js66500644editdlrm
stscredentials.d.ts52610644editdlrm
stscredentials.js47380644editdlrm
urlsubjecttokensupplier.d.ts21860644editdlrm
urlsubjecttokensupplier.js28590644editdlrm
Edit: /opt/canhelp/node_modules/google-auth-library/build/src/auth/loginticket.d.ts (5367B)
export declare class LoginTicket { private envelope?; private payload?; /** * Create a simple class to extract user ID from an ID Token * * @param {string} env Envelope of the jwt * @param {TokenPayload} pay Payload of the jwt * @constructor */ constructor(env?: string, pay?: TokenPayload); getEnvelope(): string | undefined; getPayload(): TokenPayload | undefined; /** * Create a simple class to extract user ID from an ID Token * * @return The user ID */ getUserId(): string | null; /** * Returns attributes from the login ticket. This can contain * various information about the user session. * * @return The envelope and payload */ getAttributes(): { envelope: string | undefined; payload: TokenPayload | undefined; }; } export interface TokenPayload { /** * The Issuer Identifier for the Issuer of the response. Always * https://accounts.google.com or accounts.google.com for Google ID tokens. */ iss: string; /** * Access token hash. Provides validation that the access token is tied to the * identity token. If the ID token is issued with an access token in the * server flow, this is always included. This can be used as an alternate * mechanism to protect against cross-site request forgery attacks, but if you * follow Step 1 and Step 3 it is not necessary to verify the access token. */ at_hash?: string; /** * True if the user's e-mail address has been verified; otherwise false. */ email_verified?: boolean; /** * An identifier for the user, unique among all Google accounts and never * reused. A Google account can have multiple emails at different points in * time, but the sub value is never changed. Use sub within your application * as the unique-identifier key for the user. */ sub: string; /** * The client_id of the authorized presenter. This claim is only needed when * the party requesting the ID token is not the same as the audience of the ID * token. This may be the case at Google for hybrid apps where a web * application and Android app have a different client_id but share the same * project. */ azp?: string; /** * The user's email address. This may not be unique and is not suitable for * use as a primary key. Provided only if your scope included the string * "email". */ email?: string; /** * The URL of the user's profile page. Might be provided when: * - The request scope included the string "profile" * - The ID token is returned from a token refresh * - When profile claims are present, you can use them to update your app's * user records. Note that this claim is never guaranteed to be present. */ profile?: string; /** * The URL of the user's profile picture. Might be provided when: * - The request scope included the string "profile" * - The ID token is returned from a token refresh * - When picture claims are present, you can use them to update your app's * user records. Note that this claim is never guaranteed to be present. */ picture?: string; /** * The user's full name, in a displayable form. Might be provided when: * - The request scope included the string "profile" * - The ID token is returned from a token refresh * - When name claims are present, you can use them to update your app's user * records. Note that this claim is never guaranteed to be present. */ name?: string; /** * The user's given name, in a displayable form. Might be provided when: * - The request scope included the string "profile" * - The ID token is returned from a token refresh * - When name claims are present, you can use them to update your app's user * records. Note that this claim is never guaranteed to be present. */ given_name?: string; /** * The user's family name, in a displayable form. Might be provided when: * - The request scope included the string "profile" * - The ID token is returned from a token refresh * - When name claims are present, you can use them to update your app's user * records. Note that this claim is never guaranteed to be present. */ family_name?: string; /** * Identifies the audience that this ID token is intended for. It must be one * of the OAuth 2.0 client IDs of your application. */ aud: string; /** * The time the ID token was issued, represented in Unix time (integer * seconds). */ iat: number; /** * The time the ID token expires, represented in Unix time (integer seconds). */ exp: number; /** * The value of the nonce supplied by your app in the authentication request. * You should enforce protection against replay attacks by ensuring it is * presented only once. */ nonce?: string; /** * The hosted G Suite domain of the user. Provided only if the user belongs to * a hosted domain. */ hd?: string; /** * The user's locale, represented by a BCP 47 language tag. * Might be provided when a name claim is present. */ locale?: string; }