Skip to main content

grant_key

Function grant_key 

Source
pub(crate) fn grant_key(agent: &str, part: &str) -> String
Expand description

The key a command grant is stored under, in the grants table that web forms use for sites: command:<agent>:<part> can’t be a site’s origin. It is for one part of an entry: a card’s expiry is not its number.