# `Codex.OAuth.Status`
[🔗](https://github.com/nshkrdotcom/codex_sdk/blob/v0.18.0/lib/codex/oauth/status.ex#L1)

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

# `t`

```elixir
@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()]
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
