GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsResponse class
For client credentials grant, the client sends a POST request with grant_type as 'client_credentials' to the authorization server. The authorization server will respond with a JSON object containing the access token.
Constructors
-
GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsResponse({required Input<
GoogleCloudIntegrationsV1alphaAccessTokenResponse> accessToken, required Input<String> clientId, required Input<String> clientSecret, required Input<String> requestType, required Input<String> scope, required Input<String> tokenEndpoint, required Input<GoogleCloudIntegrationsV1alphaParameterMapResponse> tokenParams}) -
Creates a new GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsResponse.
accessTokenAccess token fetched from the authorization server.clientIdThe client's ID.clientSecretThe client's secret.requestTypeRepresent how to pass parameters to fetch access tokenscopeA space-delimited list of requested scope permissions.tokenEndpointThe token endpoint is used by the client to obtain an access token by presenting its authorization grant or refresh token.tokenParamsToken parameters for the auth request.const -
GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
accessToken
→ Input<
GoogleCloudIntegrationsV1alphaAccessTokenResponse> -
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
-
requestType
→ Input<
String> -
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<
GoogleCloudIntegrationsV1alphaParameterMapResponse> -
Token parameters for the auth request.
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