Get the auth bridge for a given provider ID, if any plugin provides it.
(&self, provider: &str)
| 196 | |
| 197 | /// Get the auth bridge for a given provider ID, if any plugin provides it. |
| 198 | pub async fn auth_bridge(&self, provider: &str) -> Option<Arc<PluginAuthBridge>> { |
| 199 | self.auth_bridges.read().await.get(provider).cloned() |
| 200 | } |
| 201 | |
| 202 | /// Get all registered auth bridges, keyed by provider ID. |
| 203 | pub async fn auth_bridges(&self) -> HashMap<String, Arc<PluginAuthBridge>> { |
no test coverage detected