View Source GoogleApi.Integrations.V1alpha.Model.GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials (google_api_integrations v0.3.1)

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.

Attributes

  • accessToken (type: GoogleApi.Integrations.V1alpha.Model.GoogleCloudIntegrationsV1alphaAccessToken.t, default: nil) - Access token fetched from the authorization server.
  • clientId (type: String.t, default: nil) - The client's ID.
  • clientSecret (type: String.t, default: nil) - The client's secret.
  • requestType (type: String.t, default: nil) - Represent how to pass parameters to fetch access token
  • scope (type: String.t, default: nil) - A space-delimited list of requested scope permissions.
  • tokenEndpoint (type: String.t, default: nil) - The token endpoint is used by the client to obtain an access token by presenting its authorization grant or refresh token.
  • tokenParams (type: GoogleApi.Integrations.V1alpha.Model.GoogleCloudIntegrationsV1alphaParameterMap.t, default: nil) - Token parameters for the auth request.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Integrations.V1alpha.Model.GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials{
    accessToken:
      GoogleApi.Integrations.V1alpha.Model.GoogleCloudIntegrationsV1alphaAccessToken.t()
      | nil,
    clientId: String.t() | nil,
    clientSecret: String.t() | nil,
    requestType: String.t() | nil,
    scope: String.t() | nil,
    tokenEndpoint: String.t() | nil,
    tokenParams:
      GoogleApi.Integrations.V1alpha.Model.GoogleCloudIntegrationsV1alphaParameterMap.t()
      | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.