Skip to main content

AuthClientSource

Trait AuthClientSource 

Source
pub trait AuthClientSource {
    // Required method
    fn auth_client(
        &self,
    ) -> Result<Rc<AuthClient>, EndpointHandleInvocationError>;
}
Expand description

Supplies the activation-time Auth client used during request extraction.

Required Methods§

Source

fn auth_client(&self) -> Result<Rc<AuthClient>, EndpointHandleInvocationError>

Returns the client bound to this HTTP Endpoint provider.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§