Google Cloud Integrations V1alpha OAuth2Resource Owner Credentials Args
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
Link copied to clipboard
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
The client's secret.
Link copied to clipboard
val requestType: Output<GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestType>? = null
Represent how to pass parameters to fetch access token
Link copied to clipboard
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.