Skip to main content

owner_for_token

Function owner_for_token 

Source
pub fn owner_for_token(token: &str) -> Option<String>
Expand description

Resolves a rerun token to its owner, mirroring the Actor guard’s lookup. For form-based human submissions (a <form method=post> token field), where the guard — which only reads the X-Cortex-Token header or ?token= query — can’t see a token in the request body.