pub trait ScimIdentity<S: AuthSchema>: Send + Sync {
// Required method
fn reconcile_user<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
input: &'life1 ScimIdentityState,
database: &'life2 dyn AuthTransaction<S>,
) -> Pin<Box<dyn Future<Output = AuthResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
// Provided method
fn resolve_user<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_input: &'life1 ScimIdentityResolutionInput,
_database: &'life2 dyn AuthStore<S>,
) -> Pin<Box<dyn Future<Output = AuthResult<ScimIdentityResolution>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait { ... }
}Required Methods§
fn reconcile_user<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
input: &'life1 ScimIdentityState,
database: &'life2 dyn AuthTransaction<S>,
) -> Pin<Box<dyn Future<Output = AuthResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Provided Methods§
Sourcefn resolve_user<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_input: &'life1 ScimIdentityResolutionInput,
_database: &'life2 dyn AuthStore<S>,
) -> Pin<Box<dyn Future<Output = AuthResult<ScimIdentityResolution>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn resolve_user<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_input: &'life1 ScimIdentityResolutionInput,
_database: &'life2 dyn AuthStore<S>,
) -> Pin<Box<dyn Future<Output = AuthResult<ScimIdentityResolution>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Resolve a new provisioning source before its mutation transaction begins.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".