Attach an OAuth manager for token-based auth on HTTP/SSE transports.
(&self, manager: Arc<McpOAuthManager>)
| 166 | |
| 167 | /// Attach an OAuth manager for token-based auth on HTTP/SSE transports. |
| 168 | pub async fn set_oauth_manager(&self, manager: Arc<McpOAuthManager>) { |
| 169 | let mut guard = self.oauth_manager.write().await; |
| 170 | *guard = Some(manager); |
| 171 | } |
| 172 | |
| 173 | // -- Status accessors ---------------------------------------------------- |
| 174 |
nothing calls this directly
no outgoing calls
no test coverage detected