# `LLMProxy.Providers.OpenAICodex.OAuth.RefreshResponse`
[🔗](https://github.com/elixir-vibe/llm_proxy/blob/v0.3.1/lib/llm_proxy/providers/openai_codex/oauth.ex#L14)

ReqLLM OpenAI Codex OAuth refresh response.

This struct is the JSON boundary for refresh credentials returned by ReqLLM.

# `t`

```elixir
@type t() :: %LLMProxy.Providers.OpenAICodex.OAuth.RefreshResponse{
  access: String.t(),
  account_id: String.t() | nil,
  expires_at: DateTime.t(),
  refresh: String.t()
}
```

# `decode`

Decodes a JSON string into this struct.

# `decode!`

Decodes a JSON string into this struct, raising on failure.

# `dump`

Dumps this struct into JSON-shaped data, respecting JSON field names.

# `expires_datetime`

# `from_map`

Builds this struct from a decoded JSON map.

# `from_map!`

Builds this struct from a decoded JSON map, raising on failure.

# `json_schema`

Returns a JSON Schema-compatible schema map.

# `schema`

Returns a JSON Schema-compatible schema map.

# `to_map`

Converts this struct into a JSON-shaped map.

---

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