pub trait TeaclaveAccessControl: Send + Sync + 'static {
    fn authorize_data<'life0, 'async_trait>(
        &'life0 self,
        request: Request<AuthorizeDataRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<AuthorizeDataResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn authorize_function<'life0, 'async_trait>(
        &'life0 self,
        request: Request<AuthorizeFunctionRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<AuthorizeFunctionResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn authorize_task<'life0, 'async_trait>(
        &'life0 self,
        request: Request<AuthorizeTaskRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<AuthorizeTaskResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn authorize_staged_task<'life0, 'async_trait>(
        &'life0 self,
        request: Request<AuthorizeStagedTaskRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<AuthorizeStagedTaskResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Generated trait containing gRPC methods that should be implemented for use with TeaclaveAccessControlServer.

Required Methods

Implementors