Struct kanidmd_lib::idm::server::IdmServer
source · pub struct IdmServer { /* private fields */ }
Implementations§
source§impl IdmServer
impl IdmServer
pub async fn new(
qs: QueryServer,
origin: &str
) -> Result<(IdmServer, IdmServerDelayed), OperationError>
sourcepub async fn auth(&self) -> IdmServerAuthTransaction<'_>
pub async fn auth(&self) -> IdmServerAuthTransaction<'_>
Start an auth txn
sourcepub async fn proxy_read(&self) -> IdmServerProxyReadTransaction<'_>
pub async fn proxy_read(&self) -> IdmServerProxyReadTransaction<'_>
Read from the database, in a transaction.