Skip to main content

check_bound_peer

Function check_bound_peer 

Source
fn check_bound_peer(
    state: &AppState,
    grant: &Grant,
    parts: &Parts,
) -> Result<(), Response>
Expand description

A token bound to a container’s address (a container agent’s turn) is used only from that container. Anything else showing it, including a request straight to srv with no proof of where it is from, is refused and the token ends. A token with no address (a host agent’s) is not asked for one.