Skip to main content

parse

Function parse 

Source
pub(crate) fn parse(asked: Option<&[String]>) -> Result<Vec<Power>, String>
Expand description

The powers an agent asked for, checked. Committing clicks are always in (it is what a grant is); none asked means just that. An unknown name is an error rather than ignored, so an agent doesn’t think it asked for more than the person will be shown.