ToolsetOpenApiToolsetApiAuthenticationOauthConfig constructor
const
ToolsetOpenApiToolsetApiAuthenticationOauthConfig({})
Creates a new ToolsetOpenApiToolsetApiAuthenticationOauthConfig.
clientId The client ID from the OAuth provider.
clientSecretVersion The name of the SecretManager secret version resource storing the
oauthGrantType OAuth grant types.
scopes The OAuth scopes to grant.
tokenEndpoint The token endpoint in the OAuth provider to exchange for an access token.
Implementation
const ToolsetOpenApiToolsetApiAuthenticationOauthConfig({
required this.clientId,
required this.clientSecretVersion,
required this.oauthGrantType,
this.scopes,
required this.tokenEndpoint,
});