Google Cloud Integrations V1alpha OAuth2Authorization Code Response
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
Link copied to clipboard
fun GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeResponse(accessToken: GoogleCloudIntegrationsV1alphaAccessTokenResponse, applyReauthPolicy: Boolean, authCode: String, authEndpoint: String, authParams: GoogleCloudIntegrationsV1alphaParameterMapResponse, clientId: String, clientSecret: String, requestType: String, scope: String, tokenEndpoint: String, tokenParams: GoogleCloudIntegrationsV1alphaParameterMapResponse)