# CodexAuthStatus

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/integrations/openai_codex/CodexAuthStatus)

Snapshot of the ChatGPT OAuth login state.

## Signature

```python
CodexAuthStatus(
    self,
    logged_in: bool,
    store_path: Path,
    account_id: str | None = None,
    plan_type: str | None = None,
    expires_at: datetime | None = None,
    is_expired: bool = False,
    unreadable_reason: str | None = None,
)
```

## Constructors

```python
__init__(
    self,
    logged_in: bool,
    store_path: Path,
    account_id: str | None = None,
    plan_type: str | None = None,
    expires_at: datetime | None = None,
    is_expired: bool = False,
    unreadable_reason: str | None = None,
) -> None
```

| Name | Type |
|------|------|
| `logged_in` | `bool` |
| `store_path` | `Path` |
| `account_id` | `str \| None` |
| `plan_type` | `str \| None` |
| `expires_at` | `datetime \| None` |
| `is_expired` | `bool` |
| `unreadable_reason` | `str \| None` |


## Properties

- `logged_in`
- `store_path`
- `account_id`
- `plan_type`
- `expires_at`
- `is_expired`
- `unreadable_reason`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/e14e0adcbe78565ed3650e7f24b2a775d5437d25/libs/code/deepagents_code/integrations/openai_codex.py#L54)