View Source GoogleApi.Connectors.V2.Model.AuthCodeData (google_api_connectors v0.13.0)

AuthCodeData contains the data the runtime plane will give the connector backend in exchange for access and refresh tokens.

Attributes

  • authCode (type: String.t, default: nil) - OAuth authorization code.
  • pkceVerifier (type: String.t, default: nil) - OAuth PKCE verifier, needed if PKCE is enabled for this particular connection.
  • redirectUri (type: String.t, default: nil) - OAuth redirect URI passed in during the auth code flow, required by some OAuth backends.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Connectors.V2.Model.AuthCodeData{
  authCode: String.t() | nil,
  pkceVerifier: String.t() | nil,
  redirectUri: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.