GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials class
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
- GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials({GoogleCloudIntegrationsV1alphaAccessToken? accessToken, String? clientId, String? clientSecret, String? password, String? requestType, String? scope, String? tokenEndpoint, GoogleCloudIntegrationsV1alphaParameterMap? tokenParams, String? username})
- GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials.fromJson(Map json_)
Properties
- accessToken ↔ GoogleCloudIntegrationsV1alphaAccessToken?
-
Access token fetched from the authorization server.
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
- password ↔ String?
-
The user's password.
getter/setter pair
- 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 endpoint is used by the client to obtain an access token by
presenting its authorization grant or refresh token.
getter/setter pair
- tokenParams ↔ GoogleCloudIntegrationsV1alphaParameterMap?
-
Token parameters for the auth request.
getter/setter pair
- username ↔ String?
-
The user's username.
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