pub type EmailVerificationHook = Arc<dyn Fn(&User) -> Pin<Box<dyn Future<Output = Result<(), AuthError>> + Send>> + Send + Sync>;Expand description
Shorthand for the async hook closure type used by
EmailVerificationConfig::before_email_verification and
EmailVerificationConfig::after_email_verification.
Aliased Typeยง
pub struct EmailVerificationHook { /* private fields */ }