pub(crate) fn wan_signer<'a>(
store: &Store,
caller_uid: &str,
req: &'a InjectionRequest,
) -> Option<&'a str>Expand description
The agent srv may sign a WAN jekt as: its source_agent, when the
request’s own caller (caller_uid, from its token or a cron job’s
creator; never anything a hop carries) owns that name (uid_owns_name,
§3.1 rules 1 and 2). The name is compared ignoring case, as the keys are
stored: an agent sends as QTest, its slug is qtest.