Read the stored OAuth state.
(mcp_name: &str)
| 165 | |
| 166 | /// Read the stored OAuth state. |
| 167 | pub async fn get_oauth_state(mcp_name: &str) -> Option<String> { |
| 168 | get(mcp_name).await.and_then(|e| e.oauth_state) |
| 169 | } |
| 170 | |
| 171 | /// Clear the stored OAuth state. |
| 172 | pub async fn clear_oauth_state(mcp_name: &str) -> Result<(), std::io::Error> { |