pub type VerifiedSubjectTenantResolver = Arc<dyn Fn(&str) -> Option<String> + Send + Sync>;Expand description
Server-side map from a verified subject to its tenant.
Authoritative server state (a subject→tenant provisioning table the
operator controls), never a caller-supplied field — see the module docs on
why a token claim is not used. The input is the verified Claims::sub from
a JWT whose signature has already been checked; returning None fails the
CONNECT closed.
Aliased Type§
pub struct VerifiedSubjectTenantResolver { /* private fields */ }