pub struct AuthManagerAdapterBuilder { /* private fields */ }
Expand description
Builder for AuthManagerAdapter
Implementations§
Source§impl AuthManagerAdapterBuilder
impl AuthManagerAdapterBuilder
Sourcepub fn auth_manager(self, manager: AuthManager) -> Self
pub fn auth_manager(self, manager: AuthManager) -> Self
Set the AuthManager
Sourcepub fn http_provider(self, provider: Arc<dyn AuthProvider>) -> Self
pub fn http_provider(self, provider: Arc<dyn AuthProvider>) -> Self
Set the HTTP provider
Sourcepub fn build(self) -> Result<AuthManagerAdapter>
pub fn build(self) -> Result<AuthManagerAdapter>
Build the adapter
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuthManagerAdapterBuilder
impl !RefUnwindSafe for AuthManagerAdapterBuilder
impl Send for AuthManagerAdapterBuilder
impl Sync for AuthManagerAdapterBuilder
impl Unpin for AuthManagerAdapterBuilder
impl !UnwindSafe for AuthManagerAdapterBuilder
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