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({Input<GoogleCloudIntegrationsV1alphaAccessToken>? accessToken, Input<String>? clientId, Input<String>? clientSecret, Input<String>? password, Input<GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestType>? requestType, Input<String>? scope, Input<String>? tokenEndpoint, Input<GoogleCloudIntegrationsV1alphaParameterMap>? tokenParams, Input<String>? username})
Creates a new GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials. accessToken Access token fetched from the authorization server. clientId The client's ID. clientSecret The client's secret. password The user's password. requestType Represent how to pass parameters to fetch access token scope A space-delimited list of requested scope permissions. tokenEndpoint The token endpoint is used by the client to obtain an access token by presenting its authorization grant or refresh token. tokenParams Token parameters for the auth request. username The user's username.
const
GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials.fromMap(Map<String, dynamic> map)
factory

Properties

accessToken → Input<GoogleCloudIntegrationsV1alphaAccessToken>?
Access token fetched from the authorization server.
final
clientId → Input<String>?
The client's ID.
final
clientSecret → Input<String>?
The client's secret.
final
hashCode → int
The hash code for this object.
no setterinherited
password → Input<String>?
The user's password.
final
requestType → Input<GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestType>?
Represent how to pass parameters to fetch access token
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scope → Input<String>?
A space-delimited list of requested scope permissions.
final
tokenEndpoint → Input<String>?
The token endpoint is used by the client to obtain an access token by presenting its authorization grant or refresh token.
final
tokenParams → Input<GoogleCloudIntegrationsV1alphaParameterMap>?
Token parameters for the auth request.
final
username → Input<String>?
The user's username.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited