pub trait ResolveLastLoginMethod: Send + Sync {
// Required method
fn resolve(
&self,
context: &LastLoginMethodContext,
) -> AuthResult<Option<String>>;
}Expand description
A synchronous application resolver. None falls back to the built-in resolver;
an empty string suppresses tracking. Errors propagate at the invoking boundary.
Required Methods§
fn resolve( &self, context: &LastLoginMethodContext, ) -> AuthResult<Option<String>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".