View Source GoogleApi.Connectors.V1.Model.Oauth2AuthCodeFlow (google_api_connectors v0.16.0)

Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.

Attributes

  • authCode (type: String.t, default: nil) - Authorization code to be exchanged for access and refresh tokens.
  • authUri (type: String.t, default: nil) - Auth URL for Authorization Code Flow
  • clientId (type: String.t, default: nil) - Client ID for user-provided OAuth app.
  • clientSecret (type: GoogleApi.Connectors.V1.Model.Secret.t, default: nil) - Client secret for user-provided OAuth app.
  • enablePkce (type: boolean(), default: nil) - Whether to enable PKCE when the user performs the auth code flow.
  • pkceVerifier (type: String.t, default: nil) - PKCE verifier to be used during the auth code exchange.
  • redirectUri (type: String.t, default: nil) - Redirect URI to be provided during the auth code exchange.
  • scopes (type: list(String.t), default: nil) - Scopes the connection will request when the user performs the auth code flow.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Connectors.V1.Model.Oauth2AuthCodeFlow{
  authCode: String.t() | nil,
  authUri: String.t() | nil,
  clientId: String.t() | nil,
  clientSecret: GoogleApi.Connectors.V1.Model.Secret.t() | nil,
  enablePkce: boolean() | nil,
  pkceVerifier: String.t() | nil,
  redirectUri: String.t() | nil,
  scopes: [String.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.