kvarn_auth::integrations

Type Alias CreationAllowed

source
pub type CreationAllowed<T> = Arc<dyn Fn(CompactString, CompactString, Value) -> RetFut<'static, Option<T>> + Send + Sync>;
Available on crate feature integration-fs only.
Expand description

Arc<async Fn(username, email) -> Option<User data>>, disallowed if None

Aliased Typeยง

struct CreationAllowed<T> { /* private fields */ }