Load auth provider configuration.
(&self, provider: &str)
| 248 | |
| 249 | /// Load auth provider configuration. |
| 250 | pub async fn auth_load(&self, provider: &str) -> Result<AuthLoadResult, PluginSubprocessError> { |
| 251 | let params = serde_json::json!({ "provider": provider }); |
| 252 | self.call("auth.load", Some(params)).await |
| 253 | } |
| 254 | |
| 255 | /// Proxy an HTTP request through the plugin's custom fetch. |
| 256 | pub async fn auth_fetch( |