use OAuthError;
use BoxFuture;
/// OAuth callback data containing both the authorization code and state (CSRF token)
/// Trait that consuming applications implement to handle OAuth UI/UX.
///
/// Uses `BoxFuture` instead of `async fn` to support `dyn OAuthHandler`
/// (required for `Arc<dyn OAuthHandler>` in `McpManager`).