Skip to main content

ENRICHED_NAMESPACE_PREFIX

Constant ENRICHED_NAMESPACE_PREFIX 

Source
pub const ENRICHED_NAMESPACE_PREFIX: &str = "fraiseql.enriched.";
Expand description

Reserved attribute-namespace prefix for DB-resolved enriched-identity fields.

The request extractor strips any incoming JWT claim whose key begins with fraiseql., so an attribute under this prefix cannot be forged by a token — it can only originate from the server’s identity resolver (#539). Read with no fallback by SessionVariableSource::Enrichment and InjectedParamSource::Enrichment, and written by the server when it merges a resolved identity into the security context.