Codex.OAuth.Status (Codex SDK v0.14.0)

Copy Markdown View Source

Current OAuth auth state returned by Codex.OAuth.status/1 and refresh/1.

Summary

Types

t()

@type t() :: %Codex.OAuth.Status{
  account_id: String.t() | nil,
  auth_mode: atom() | nil,
  authenticated?: boolean(),
  expires_at: DateTime.t() | nil,
  persisted?: boolean() | nil,
  plan_type: String.t() | nil,
  provider: atom() | nil,
  storage_used: atom() | nil,
  warnings: [String.t()]
}