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: 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 UnsafeUnpin 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
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].