GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode constructor
- Input<
GoogleCloudIntegrationsV1alphaAccessToken> ? accessToken, - Input<
bool> ? applyReauthPolicy, - Input<
String> ? authCode, - Input<
String> ? authEndpoint, - Input<
GoogleCloudIntegrationsV1alphaParameterMap> ? authParams, - Input<
String> ? clientId, - Input<
String> ? clientSecret, - Input<
GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeRequestType> ? requestType, - Input<
String> ? scope, - Input<
String> ? tokenEndpoint, - Input<
GoogleCloudIntegrationsV1alphaParameterMap> ? tokenParams,
Creates a new GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode.
accessToken The access token received from the token endpoint.
applyReauthPolicy 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.
authCode The Auth Code that is used to initially retrieve the access token.
authEndpoint The auth url endpoint to send the auth code request to.
authParams The auth parameters sent along with the auth code request.
clientId The client's id.
clientSecret The client's secret.
requestType Represent how to pass parameters to fetch access token
scope A space-delimited list of requested scope permissions.
tokenEndpoint The token url endpoint to send the token request to.
tokenParams The token parameters sent along with the token request.
Implementation
const GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode({
this.accessToken,
this.applyReauthPolicy,
this.authCode,
this.authEndpoint,
this.authParams,
this.clientId,
this.clientSecret,
this.requestType,
this.scope,
this.tokenEndpoint,
this.tokenParams,
});