pub trait TwoFactorExt: AuthInstance + Sized {
// Provided method
fn two_factor<I>(&self) -> TwoFactorApi<'_, Self>
where Self: HasPlugin<TwoFactor, I> { ... }
}Expand description
auth.two_factor(): the server API. Only compiles on an Auth with TwoFactor registered.
Provided Methods§
fn two_factor<I>(&self) -> TwoFactorApi<'_, Self>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".