Skip to main content

subject_context_with

Function subject_context_with 

Source
pub async fn subject_context_with(
    store: Option<&dyn CredentialRevocationStore>,
    session_registry: Option<&dyn SessionRegistry>,
    subject: &Subject,
    verified_tenant: Option<&str>,
) -> Option<SecurityContext>
Expand description

subject_context against explicit authority handles instead of the process-global ones. None behaves exactly like an unpublished global: credential-bearing and session-bearing hits fail closed.