GoogleCloudAgentidentitycredentialsV1_UriConsentRequired
import type { GoogleCloudAgentidentitycredentialsV1_UriConsentRequired } from "https://googleapis.deno.dev/v1/agentidentitycredentials:v1.ts";Indicates that the user must visit the provided URI to consent to delegate
permission to the agent to act on their behalf. The caller can either poll
the RetrieveCredentials method, or await the /ValidateUserId callback
interface GoogleCloudAgentidentitycredentialsV1_UriConsentRequired {
readonly authorizationUri?: string;
readonly consentNonce?: string;
readonly uid?: string;
}§Properties
§
readonly authorizationUri?: string
[src]Output only. The URL where the user should be redirected to grant consent. This will always be present.
§
readonly consentNonce?: string
[src]Output only. A one-time, randomly generated value that validates the entire consent flow is handled by a single user, avoiding CSRF attacks. It must be submitted with the FinalizeCredentials request to complete the OAuth exchange. This will always be present. Implemented per https://www.rfc-editor.org/rfc/rfc6819#section-5.3.5