Struct kanidm_unix_common::cache::CacheLayer [−][src]
pub struct CacheLayer { /* fields omitted */ }
Implementations
pub async fn new(
path: &str,
timeout_seconds: u64,
client: KanidmAsyncClient,
pam_allow_groups: Vec<String>,
default_shell: String,
home_prefix: String,
home_attr: HomeAttr,
home_alias: Option<HomeAttr>,
uid_attr_map: UidAttr,
gid_attr_map: UidAttr
) -> Result<Self, ()>
[src]pub async fn pam_account_authenticate(
&self,
account_id: &str,
cred: &str
) -> Result<Option<bool>, ()>
[src]pub async fn pam_account_beginsession(
&self,
account_id: &str
) -> Result<Option<HomeDirectoryInfo>, ()>
[src]Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CacheLayer
impl Send for CacheLayer
impl Sync for CacheLayer
impl Unpin for CacheLayer
impl !UnwindSafe for CacheLayer
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self