Proyecto audio control. inicado con panel y control.
This commit is contained in:
27
node_modules/google-auth-library/build/src/auth/idtokenclient.d.ts
generated
vendored
Normal file
27
node_modules/google-auth-library/build/src/auth/idtokenclient.d.ts
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
import { OAuth2Client, OAuth2ClientOptions, RequestMetadataResponse } from './oauth2client';
|
||||
export interface IdTokenOptions extends OAuth2ClientOptions {
|
||||
/**
|
||||
* The client to make the request to fetch an ID token.
|
||||
*/
|
||||
idTokenProvider: IdTokenProvider;
|
||||
/**
|
||||
* The audience to use when requesting an ID token.
|
||||
*/
|
||||
targetAudience: string;
|
||||
}
|
||||
export interface IdTokenProvider {
|
||||
fetchIdToken: (targetAudience: string) => Promise<string>;
|
||||
}
|
||||
export declare class IdTokenClient extends OAuth2Client {
|
||||
targetAudience: string;
|
||||
idTokenProvider: IdTokenProvider;
|
||||
/**
|
||||
* Google ID Token client
|
||||
*
|
||||
* Retrieve ID token from the metadata server.
|
||||
* See: https://cloud.google.com/docs/authentication/get-id-token#metadata-server
|
||||
*/
|
||||
constructor(options: IdTokenOptions);
|
||||
protected getRequestMetadataAsync(): Promise<RequestMetadataResponse>;
|
||||
private getIdTokenExpiryDate;
|
||||
}
|
||||
Reference in New Issue
Block a user