Skip to main content

require_link_token

Function require_link_token 

Source
pub fn require_link_token(router: Router, token: String) -> Router
Expand description

Barrier token gate for a standalone core reached directly by a product server (M4A_LINK_TOKEN): every request outside the public protocol surfaces must carry x-m4a-link-token. The header is removed before routing.