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

Internal OAuth session structs shared across flows and token stores.

# `t`

```elixir
@type t() :: %Codex.OAuth.Session{
  auth_record: struct(),
  context: struct(),
  flow: atom(),
  persisted?: boolean(),
  provider: atom(),
  storage: :file | :memory | :auto,
  token_store: pid() | nil
}
```

---

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