pub struct SecurityProviderFactory;
Expand description
Factory for creating security providers based on configuration.
Implementations§
Source§impl SecurityProviderFactory
impl SecurityProviderFactory
Sourcepub async fn create_provider(
provider_type: &str,
config: Value,
) -> Result<Arc<dyn SecurityProvider>, ProxyError>
pub async fn create_provider( provider_type: &str, config: Value, ) -> Result<Arc<dyn SecurityProvider>, ProxyError>
Create a security provider based on its type and configuration.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SecurityProviderFactory
impl RefUnwindSafe for SecurityProviderFactory
impl Send for SecurityProviderFactory
impl Sync for SecurityProviderFactory
impl Unpin for SecurityProviderFactory
impl UnwindSafe for SecurityProviderFactory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more