pub struct SystemProvider { /* private fields */ }
Implementations§
source§impl SystemProvider
impl SystemProvider
pub fn new() -> Result<Self, IdpError>
pub async fn reload( &self, users: Vec<EtcUser>, shadow: Option<Vec<EtcShadow>>, groups: Vec<EtcGroup>, )
pub async fn auth_init( &self, account_id: &Id, current_time: OffsetDateTime, ) -> SystemProviderAuthInit
pub async fn begin_session(&self, account_id: &Id) -> SystemProviderSession
pub async fn contains_group(&self, account_id: &Id) -> bool
pub async fn get_nssaccount(&self, account_id: &Id) -> Option<NssUser>
pub async fn get_nssaccounts(&self) -> Vec<NssUser>
pub async fn get_nssgroup(&self, grp_id: &Id) -> Option<NssGroup>
pub async fn get_nssgroups(&self) -> Vec<NssGroup>
Auto Trait Implementations§
impl !Freeze for SystemProvider
impl !RefUnwindSafe for SystemProvider
impl Send for SystemProvider
impl Sync for SystemProvider
impl Unpin for SystemProvider
impl !UnwindSafe for SystemProvider
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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