GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsResponse

data class GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsResponse(val accessToken: GoogleCloudIntegrationsV1alphaAccessTokenResponse, val clientId: String, val clientSecret: String, val password: String, val requestType: String, val scope: String, val tokenEndpoint: String, val tokenParams: GoogleCloudIntegrationsV1alphaParameterMapResponse, val username: String)

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Access token fetched from the authorization server.

Link copied to clipboard

The client's ID.

Link copied to clipboard

The client's secret.

Link copied to clipboard

The user's password.

Link copied to clipboard

Represent how to pass parameters to fetch access token

Link copied to clipboard

A space-delimited list of requested scope permissions.

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.

Link copied to clipboard

The user's username.