Skip to main content

ResolveLastLoginMethod

Trait ResolveLastLoginMethod 

Source
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§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§