Whether tokens exist on disk for this server + URL combination.
(&self)
| 333 | |
| 334 | /// Whether tokens exist on disk for this server + URL combination. |
| 335 | pub async fn has_stored_tokens(&self) -> bool { |
| 336 | auth::get_for_url(&self.mcp_name, &self.server_url) |
| 337 | .await |
| 338 | .and_then(|e| e.tokens) |
| 339 | .is_some() |
| 340 | } |
| 341 | |
| 342 | /// Authentication status. |
| 343 | pub async fn auth_status(&self) -> AuthStatus { |
nothing calls this directly
no test coverage detected