# AuthResult

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/tui/widgets/auth/AuthResult)

Outcome of an `AuthPromptScreen` interaction.

The three outcomes need to stay distinguishable because callers in the
recovery path retry the original failing operation only on `SAVED` —
retrying after `DELETED` would loop into the same missing-credentials
error indefinitely.

## Signature

```python
AuthResult()
```

## Extends

- `StrEnum`

## Properties

- `SAVED`
- `DELETED`
- `CANCELLED`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/e14e0adcbe78565ed3650e7f24b2a775d5437d25/libs/code/deepagents_code/tui/widgets/auth.py#L307)