Trait teaclave_proto::teaclave_access_control_service_proto::teaclave_access_control_server::TeaclaveAccessControl
source · [−]pub trait TeaclaveAccessControl: Send + Sync + 'static {
fn authorize_api<'life0, 'async_trait>(
&'life0 self,
request: Request<AuthorizeApiRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<AuthorizeApiResponse>, 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.