Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AgentIdentityCredentials

import { AgentIdentityCredentials } from "https://googleapis.deno.dev/v1/agentidentitycredentials:v1.ts";

agentidentitycredentials.googleapis.com API.

class AgentIdentityCredentials {
constructor(client?: CredentialsClient, baseUrl?: string);
async projectsLocationsAuthProvidersCredentialsFinalize(authProvider: string, req: GoogleCloudAgentidentitycredentialsV1_FinalizeCredentialsRequest): Promise<GoogleCloudAgentidentitycredentialsV1_FinalizeCredentialsResponse>;
async projectsLocationsAuthProvidersCredentialsRetrieve(authProvider: string, req: GoogleCloudAgentidentitycredentialsV1_RetrieveCredentialsRequest): Promise<GoogleCloudAgentidentitycredentialsV1_RetrieveCredentialsResponse>;
}

§Constructors

§
new AgentIdentityCredentials(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§

Finalizes the credentials after a successful consent flow.

@param authProvider

Required. The resource name of the AuthProvider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}

§

Retrieves authorization credentials for an authprovider, or indicates what action needs to be taken to obtain credentials. If the token field in the response is populated, credential retrieval was successful. If one of the fields in the status oneof is populated, further action is required to obtain credentials, such as redirecting the user for consent. View comments on RetrieveCredentialsResponse for more information.

@param authProvider

Required. The parent resource name of the AuthProvider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}