Module kanidmd_lib::prelude
source · Expand description
A prelude of imports that should be imported by all other Kanidm modules to help make imports cleaner.
Re-exports§
pub use crate::entry::Entry;
pub use crate::entry::EntryCommitted;
pub use crate::entry::EntryIncrementalCommitted;
pub use crate::entry::EntryIncrementalNew;
pub use crate::entry::EntryInit;
pub use crate::entry::EntryInitNew;
pub use crate::entry::EntryInvalid;
pub use crate::entry::EntryInvalidCommitted;
pub use crate::entry::EntryInvalidNew;
pub use crate::entry::EntryNew;
pub use crate::entry::EntryReduced;
pub use crate::entry::EntryReducedCommitted;
pub use crate::entry::EntryRefresh;
pub use crate::entry::EntryRefreshNew;
pub use crate::entry::EntrySealed;
pub use crate::entry::EntrySealedCommitted;
pub use crate::entry::EntrySealedNew;
pub use crate::entry::EntryTuple;
pub use crate::entry::EntryValid;
pub use crate::event::CreateEvent;
pub use crate::event::DeleteEvent;
pub use crate::event::ExistsEvent;
pub use crate::event::ModifyEvent;
pub use crate::event::SearchEvent;
pub use crate::filter::f_and;
pub use crate::filter::f_andnot;
pub use crate::filter::f_eq;
pub use crate::filter::f_id;
pub use crate::filter::f_inc;
pub use crate::filter::f_lt;
pub use crate::filter::f_or;
pub use crate::filter::f_pres;
pub use crate::filter::f_self;
pub use crate::filter::f_spn_name;
pub use crate::filter::f_sub;
pub use crate::filter::Filter;
pub use crate::filter::FilterInvalid;
pub use crate::filter::FilterValid;
pub use crate::filter::FC;
pub use crate::idm::server::IdmServer;
pub use crate::idm::server::IdmServerAudit;
pub use crate::idm::server::IdmServerDelayed;
pub use crate::idm::ClientAuthInfo;
pub use crate::idm::ClientCertInfo;
pub use crate::modify::m_assert;
pub use crate::modify::m_pres;
pub use crate::modify::m_purge;
pub use crate::modify::m_remove;
pub use crate::modify::Modify;
pub use crate::modify::ModifyInvalid;
pub use crate::modify::ModifyList;
pub use crate::modify::ModifyValid;
pub use crate::server::batch_modify::BatchModifyEvent;
pub use crate::server::identity::AccessScope;
pub use crate::server::identity::IdentType;
pub use crate::server::identity::IdentUser;
pub use crate::server::identity::Identity;
pub use crate::server::identity::IdentityId;
pub use crate::server::identity::Source;
pub use crate::server::QueryServer;
pub use crate::server::QueryServerReadTransaction;
pub use crate::server::QueryServerTransaction;
pub use crate::server::QueryServerWriteTransaction;
pub use crate::time::duration_from_epoch_now;
pub use crate::value::ApiTokenScope;
pub use crate::value::IndexType;
pub use crate::value::PartialValue;
pub use crate::value::SessionScope;
pub use crate::value::SyntaxType;
pub use crate::value::Value;
pub use crate::constants::*;
Modules§
- Shared URIs
Macros§
- Parse
Uuid
s from string literals at compile time.
Structs§
- A
Duration
type to represent a span of time, typically used for system timeouts. - The format described in RFC 3339.
- A parsed URL record.
- A Universally Unique Identifier (UUID).
Enums§
Constants§
- Default grace window for authentication tokens. This allows a token to be validated by another replica before the backing database session has been replicated to the partner. If replication stalls until this point then the token will be considered INVALID.
- The default location for the
kanidm
CLI tool’s token cache. - Content type string for gif
- Content type string for jpeg
- Content type string for png
- Content type string for svg
- Content type string for webp
- The “system” path for Kanidm client config
- The user-owned path for Kanidm client config
- The default LDAP bind address for the Kanidm client
- Default replication configuration
- Default replication poll window in seconds.
- The default HTTPS bind address for the Kanidm server
- Entryclass
- HTTP Header containing the backend operation ID
- HTTP Header containing an auth session ID for when you’re going through an auth flow
- HTTP Header containing the Kanidm server version
- X-Forwarded-For header
Traits§
Type Aliases§
- A convenience alias for a [
LazyCompact
] layout [SmartString
].