GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeResponse

data class GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeResponse(val accessToken: GoogleCloudIntegrationsV1alphaAccessTokenResponse, val applyReauthPolicy: Boolean, val authCode: String, val authEndpoint: String, val authParams: GoogleCloudIntegrationsV1alphaParameterMapResponse, val clientId: String, val clientSecret: String, val requestType: String, val scope: String, val tokenEndpoint: String, val tokenParams: GoogleCloudIntegrationsV1alphaParameterMapResponse)

The OAuth Type where the client sends request with the client id and requested scopes to auth endpoint. User sees a consent screen and auth code is received at specified redirect url afterwards. The auth code is then combined with the client id and secret and sent to the token endpoint in exchange for the access and refresh token. The refresh token can be used to fetch new access tokens.

Constructors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The access token received from the token endpoint.

Link copied to clipboard

Indicates if the user has opted in Google Reauth Policy. If opted in, the refresh token will be valid for 20 hours, after which time users must re-authenticate in order to obtain a new one.

Link copied to clipboard

The Auth Code that is used to initially retrieve the access token.

Link copied to clipboard

The auth url endpoint to send the auth code request to.

Link copied to clipboard

The auth parameters sent along with the auth code request.

Link copied to clipboard

The client's id.

Link copied to clipboard

The client's secret.

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 url endpoint to send the token request to.

Link copied to clipboard

The token parameters sent along with the token request.