GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsArgs

data class GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsArgs(val accessToken: Output<GoogleCloudIntegrationsV1alphaAccessTokenArgs>? = null, val clientId: Output<String>? = null, val clientSecret: Output<String>? = null, val password: Output<String>? = null, val requestType: Output<GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestType>? = null, val scope: Output<String>? = null, val tokenEndpoint: Output<String>? = null, val tokenParams: Output<GoogleCloudIntegrationsV1alphaParameterMapArgs>? = null, val username: Output<String>? = null) : ConvertibleToJava<GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsArgs>

For resource owner credentials grant, the client will ask the user for their authorization credentials (ususally a username and password) and send a POST request to the authorization server. The authorization server will respond with a JSON object containing the access token.

Constructors

constructor(accessToken: Output<GoogleCloudIntegrationsV1alphaAccessTokenArgs>? = null, clientId: Output<String>? = null, clientSecret: Output<String>? = null, password: Output<String>? = null, requestType: Output<GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestType>? = null, scope: Output<String>? = null, tokenEndpoint: Output<String>? = null, tokenParams: Output<GoogleCloudIntegrationsV1alphaParameterMapArgs>? = null, username: Output<String>? = null)

Properties

Link copied to clipboard

Access token fetched from the authorization server.

Link copied to clipboard
val clientId: Output<String>? = null

The client's ID.

Link copied to clipboard
val clientSecret: Output<String>? = null

The client's secret.

Link copied to clipboard
val password: Output<String>? = null

The user's password.

Link copied to clipboard

Represent how to pass parameters to fetch access token

Link copied to clipboard
val scope: Output<String>? = null

A space-delimited list of requested scope permissions.

Link copied to clipboard
val tokenEndpoint: Output<String>? = null

The token endpoint is used by the client to obtain an access token by presenting its authorization grant or refresh token.

Link copied to clipboard

Token parameters for the auth request.

Link copied to clipboard
val username: Output<String>? = null

The user's username.

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsArgs