View Source GoogleApi.Connectors.V2.Model.AccessCredentials (google_api_connectors v0.10.0)

AccessCredentials includes the OAuth access token, and the other fields returned along with it.

Attributes

  • accessToken (type: String.t, default: nil) - OAuth access token.
  • expiresIn (type: String.t, default: nil) - Duration till the access token expires.
  • refreshToken (type: String.t, default: nil) - OAuth refresh token.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Connectors.V2.Model.AccessCredentials{
  accessToken: String.t() | nil,
  expiresIn: String.t() | nil,
  refreshToken: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.