pub struct NoOpAuthenticationEngine;Expand description
A blank authentication service. Would be used if the application does not require authentication.
Trait Implementations§
Source§impl AuthenticationEngine for NoOpAuthenticationEngine
impl AuthenticationEngine for NoOpAuthenticationEngine
Called as part of the OIDC
/authorize endpoint.Source§fn callback<'life0, 'async_trait>(
&'life0 self,
_callback_params: CallbackRequestParams,
_persisted_data: OidcSessionPersisted,
) -> Pin<Box<dyn Future<Output = Result<User, AuthenticationEngineError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn callback<'life0, 'async_trait>(
&'life0 self,
_callback_params: CallbackRequestParams,
_persisted_data: OidcSessionPersisted,
) -> Pin<Box<dyn Future<Output = Result<User, AuthenticationEngineError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
After authentication, the IdP would redirect the user agent to the
callback route. This would handle the finalizing the OIDC flow to return
the validated user. Read more
Source§impl Clone for NoOpAuthenticationEngine
impl Clone for NoOpAuthenticationEngine
Auto Trait Implementations§
impl Freeze for NoOpAuthenticationEngine
impl RefUnwindSafe for NoOpAuthenticationEngine
impl Send for NoOpAuthenticationEngine
impl Sync for NoOpAuthenticationEngine
impl Unpin for NoOpAuthenticationEngine
impl UnsafeUnpin for NoOpAuthenticationEngine
impl UnwindSafe for NoOpAuthenticationEngine
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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