pub trait IdentityMappingBackend: Send + Sync {
// Required methods
fn get_by_local_id<'a, 'life0, 'life1, 'async_trait>(
&'life0 self,
state: &'life1 ServiceState,
local_id: &'a str,
domain_id: &'a str,
entity_type: IdMappingEntityType,
) -> Pin<Box<dyn Future<Output = Result<Option<IdMapping>, IdentityMappingProviderError>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_by_public_id<'a, 'life0, 'life1, 'async_trait>(
&'life0 self,
state: &'life1 ServiceState,
public_id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<Option<IdMapping>, IdentityMappingProviderError>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Required Methods§
Sourcefn get_by_local_id<'a, 'life0, 'life1, 'async_trait>(
&'life0 self,
state: &'life1 ServiceState,
local_id: &'a str,
domain_id: &'a str,
entity_type: IdMappingEntityType,
) -> Pin<Box<dyn Future<Output = Result<Option<IdMapping>, IdentityMappingProviderError>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_by_local_id<'a, 'life0, 'life1, 'async_trait>(
&'life0 self,
state: &'life1 ServiceState,
local_id: &'a str,
domain_id: &'a str,
entity_type: IdMappingEntityType,
) -> Pin<Box<dyn Future<Output = Result<Option<IdMapping>, IdentityMappingProviderError>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get the IdMapping by the local data.
Sourcefn get_by_public_id<'a, 'life0, 'life1, 'async_trait>(
&'life0 self,
state: &'life1 ServiceState,
public_id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<Option<IdMapping>, IdentityMappingProviderError>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_by_public_id<'a, 'life0, 'life1, 'async_trait>(
&'life0 self,
state: &'life1 ServiceState,
public_id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<Option<IdMapping>, IdentityMappingProviderError>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get the IdMapping by the public_id.