# OAuthInteraction

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/mcp_oauth_ui/OAuthInteraction)

User-facing OAuth interaction surface shared by CLI and TUI.

## Signature

```python
OAuthInteraction()
```

## Extends

- `Protocol`

## Methods

- [`show_authorize_url()`](https://reference.langchain.com/python/deepagents-code/mcp_oauth_ui/OAuthInteraction/show_authorize_url)
- [`request_callback_url()`](https://reference.langchain.com/python/deepagents-code/mcp_oauth_ui/OAuthInteraction/request_callback_url)
- [`show_device_code()`](https://reference.langchain.com/python/deepagents-code/mcp_oauth_ui/OAuthInteraction/show_device_code)
- [`show_success()`](https://reference.langchain.com/python/deepagents-code/mcp_oauth_ui/OAuthInteraction/show_success)
- [`show_notice()`](https://reference.langchain.com/python/deepagents-code/mcp_oauth_ui/OAuthInteraction/show_notice)
- [`show_error()`](https://reference.langchain.com/python/deepagents-code/mcp_oauth_ui/OAuthInteraction/show_error)

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/d1c6946218b4f0f86ab7b02b6bb6af1e4b75cede/libs/code/deepagents_code/mcp_oauth_ui.py#L23)