Skip to main content

compose_presented_token

Function compose_presented_token 

Source
pub fn compose_presented_token(
    broker_half: &TokenHalf,
    daemon_half: &TokenHalf,
) -> Vec<u8> 
Expand description

Concatenate a broker half and a daemon half into one presented-token byte vector, matching what SessionTokenAuthority::validate expects. A convenience for a client-side caller assembling Hello.auth_token.