# AuthResult

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/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/d1c6946218b4f0f86ab7b02b6bb6af1e4b75cede/libs/code/deepagents_code/widgets/auth.py#L59)