pub struct AuthProxyBuilder { /* private fields */ }Expand description
Auth proxy builder
Implementations§
Source§impl AuthProxyBuilder
impl AuthProxyBuilder
Sourcepub fn handler(self, handler: AuthenticationHandler) -> Self
pub fn handler(self, handler: AuthenticationHandler) -> Self
Set authentication handler
Sourcepub fn role_mapper(self, mapper: RoleMapper) -> Self
pub fn role_mapper(self, mapper: RoleMapper) -> Self
Set role mapper
Sourcepub fn session_manager(self, manager: SessionManager) -> Self
pub fn session_manager(self, manager: SessionManager) -> Self
Set session manager
Sourcepub fn credential_manager(self, manager: CredentialManager) -> Self
pub fn credential_manager(self, manager: CredentialManager) -> Self
Set credential manager
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuthProxyBuilder
impl !RefUnwindSafe for AuthProxyBuilder
impl Send for AuthProxyBuilder
impl Sync for AuthProxyBuilder
impl Unpin for AuthProxyBuilder
impl UnsafeUnpin for AuthProxyBuilder
impl !UnwindSafe for AuthProxyBuilder
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more