Skip to main content

granted_accounts

Function granted_accounts 

Source
pub fn granted_accounts(
    id_store: &Arc<Store>,
    identity_store: &Arc<Store>,
    def: &AgentDefinition,
    service: Service,
) -> Result<Vec<Access>, String>
Expand description

Every Google account def holds a grant on for service, by email. Several are allowed (the spec’s D7): a grant is all an agent needs, so it can read more than one mailbox.