pub fn decode_request_and_dispatch(
request_body: &[u8],
authority: &SessionTokenAuthority,
) -> Result<Vec<u8>, GetSessionTokenDispatchError>Expand description
Decode an incoming GetSessionTokenRequest frame body and produce a
serialized GetSessionTokenResponse body the connection loop can write
back via protocol::write_frame.
Read-only lookup against authority – this never mints or registers a
token itself. Minting happens once, at daemon launch
(HelloRouter::launch_backend calling SessionTokenAuthority::register_daemon);
this RPC only answers “what is it right now” for a caller that already
knows the daemon exists (e.g. from a prior Hello negotiation).