pub trait Identity:
Send
+ Sync
+ 'static {
// Required methods
fn get_plugin_info<'life0, 'async_trait>(
&'life0 self,
request: Request<GetPluginInfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetPluginInfoResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_plugin_capabilities<'life0, 'async_trait>(
&'life0 self,
request: Request<GetPluginCapabilitiesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetPluginCapabilitiesResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn probe<'life0, 'async_trait>(
&'life0 self,
request: Request<ProbeRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProbeResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Generated trait containing gRPC methods that should be implemented for use with IdentityServer.