auth

Trait PermissionChecker

source
pub trait PermissionChecker: Send + Sync {
    // Required method
    fn check_permission(
        &self,
        user_info: UserInfoRef,
        req: PermissionReq<'_>,
    ) -> Result<PermissionResp>;
}

Required Methods§

Implementations on Foreign Types§

source§

impl PermissionChecker for Option<&PermissionCheckerRef>

Implementors§