Struct kanidm_unix_common::idprovider::kanidm::KanidmProvider
source · pub struct KanidmProvider { /* private fields */ }
Implementations§
Trait Implementations§
source§impl IdProvider for KanidmProvider
impl IdProvider for KanidmProvider
fn configure_hsm_keys<'life0, 'life1, 'life2, 'life3, 'async_trait, D>(
&'life0 self,
keystore: &'life1 mut D,
tpm: &'life2 mut BoxedDynTpm,
machine_key: &'life3 MachineKey
) -> Pin<Box<dyn Future<Output = Result<(), IdpError>> + Send + 'async_trait>>where
D: 'async_trait + KeyStoreTxn + Send,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
source§fn provider_authenticate<'life0, 'life1, 'async_trait>(
&'life0 self,
_tpm: &'life1 mut BoxedDynTpm
) -> Pin<Box<dyn Future<Output = Result<(), IdpError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn provider_authenticate<'life0, 'life1, 'async_trait>(
&'life0 self,
_tpm: &'life1 mut BoxedDynTpm
) -> Pin<Box<dyn Future<Output = Result<(), IdpError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
This is similar to a “domain join” process. What do we actually need to pass here
for this to work for kanidm or himmelblau? Should we make it take a generic?
fn unix_user_get<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
id: &'life1 Id,
_token: Option<&'life2 UserToken>,
_tpm: &'life3 mut BoxedDynTpm
) -> Pin<Box<dyn Future<Output = Result<UserToken, IdpError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn unix_user_online_auth_init<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
_account_id: &'life1 str,
_token: Option<&'life2 UserToken>,
_tpm: &'life3 mut BoxedDynTpm,
_machine_key: &'life4 MachineKey
) -> Pin<Box<dyn Future<Output = Result<(AuthRequest, AuthCredHandler), IdpError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
fn unix_user_online_auth_step<'life0, 'life1, 'life2, 'life3, 'life4, 'life5, 'async_trait, D>(
&'life0 self,
account_id: &'life1 str,
cred_handler: &'life2 mut AuthCredHandler,
pam_next_req: PamAuthRequest,
_keystore: &'life3 mut D,
_tpm: &'life4 mut BoxedDynTpm,
_machine_key: &'life5 MachineKey
) -> Pin<Box<dyn Future<Output = Result<(AuthResult, AuthCacheAction), IdpError>> + Send + 'async_trait>>where
D: 'async_trait + KeyStoreTxn + Send,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
'life5: 'async_trait,
fn unix_user_offline_auth_init<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_account_id: &'life1 str,
_token: Option<&'life2 UserToken>
) -> Pin<Box<dyn Future<Output = Result<(AuthRequest, AuthCredHandler), IdpError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn unix_group_get<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
id: &'life1 Id,
_tpm: &'life2 mut BoxedDynTpm
) -> Pin<Box<dyn Future<Output = Result<GroupToken, IdpError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for KanidmProvider
impl Send for KanidmProvider
impl Sync for KanidmProvider
impl Unpin for KanidmProvider
impl !UnwindSafe for KanidmProvider
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more