GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode class
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
- GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode({GoogleCloudIntegrationsV1alphaAccessToken? accessToken, bool? applyReauthPolicy, String? authCode, String? authEndpoint, GoogleCloudIntegrationsV1alphaParameterMap? authParams, String? clientId, String? clientSecret, String? requestType, String? scope, String? tokenEndpoint, GoogleCloudIntegrationsV1alphaParameterMap? tokenParams})
- GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode.fromJson(Map json_)
Properties
- accessToken ↔ GoogleCloudIntegrationsV1alphaAccessToken?
-
The access token received from the token endpoint.
getter/setter pair
- applyReauthPolicy ↔ bool?
-
Indicates if the user has opted in Google Reauth Policy.
getter/setter pair
- authCode ↔ String?
-
The Auth Code that is used to initially retrieve the access token.
getter/setter pair
- authEndpoint ↔ String?
-
The auth url endpoint to send the auth code request to.
getter/setter pair
- authParams ↔ GoogleCloudIntegrationsV1alphaParameterMap?
-
The auth parameters sent along with the auth code request.
getter/setter pair
- clientId ↔ String?
-
The client's id.
getter/setter pair
- clientSecret ↔ String?
-
The client's secret.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- requestType ↔ String?
-
Represent how to pass parameters to fetch access token
Possible string values are:
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope ↔ String?
-
A space-delimited list of requested scope permissions.
getter/setter pair
- tokenEndpoint ↔ String?
-
The token url endpoint to send the token request to.
getter/setter pair
- tokenParams ↔ GoogleCloudIntegrationsV1alphaParameterMap?
-
The token parameters sent along with the token request.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited