Skip to main content

authorize

Function authorize 

Source
pub fn authorize<'a>(
    view: &'a HostAuthorityView<'a>,
    request: &AuthoringRequest<'_>,
) -> Result<AuthoringPermit<'a>, AuthoringError>
Expand description

Fail closed against the current cooperative owner. No heap allocation. Authentication and admission evidence are verified by the native host before constructing the view, not by this pure policy or by source-supplied strings.