(&self, provider_id: &str)
| 112 | } |
| 113 | |
| 114 | pub async fn has_auth(&self, provider_id: &str) -> bool { |
| 115 | let creds = self.credentials.read().await; |
| 116 | creds.contains_key(provider_id) |
| 117 | } |
| 118 | |
| 119 | pub async fn get_api_key(&self, provider_id: &str) -> Option<String> { |
| 120 | let creds = self.credentials.read().await; |