Skip to main content

select_mode_for_token

Function select_mode_for_token 

Source
pub fn select_mode_for_token(
    request: &CeremonyRequest,
    token: &DetectedToken,
) -> CeremonyPlan
Expand description

Resolve a chosen token to a mode, or block when no human can drive it.

Split out so the multiple-token prompt can feed the operator’s answer back through exactly the same firmware rule.