[−][src]Struct kanidm_client::asynchronous::KanidmAsyncClient
Methods
impl KanidmAsyncClient
[src]
pub async fn auth_step_init<'_, '_, '_>(
&'_ self,
ident: &'_ str,
appid: Option<&'_ str>
) -> Result<AuthState, ClientError>
[src]
&'_ self,
ident: &'_ str,
appid: Option<&'_ str>
) -> Result<AuthState, ClientError>
pub async fn auth_simple_password<'_, '_, '_>(
&'_ self,
ident: &'_ str,
password: &'_ str
) -> Result<UserAuthToken, ClientError>
[src]
&'_ self,
ident: &'_ str,
password: &'_ str
) -> Result<UserAuthToken, ClientError>
pub async fn auth_anonymous<'_>(&'_ self) -> Result<UserAuthToken, ClientError>
[src]
pub async fn whoami<'_>(
&'_ self
) -> Result<Option<(Entry, UserAuthToken)>, ClientError>
[src]
&'_ self
) -> Result<Option<(Entry, UserAuthToken)>, ClientError>
pub async fn idm_account_unix_token_get<'_, '_>(
&'_ self,
id: &'_ str
) -> Result<UnixUserToken, ClientError>
[src]
&'_ self,
id: &'_ str
) -> Result<UnixUserToken, ClientError>
pub async fn idm_group_unix_token_get<'_, '_>(
&'_ self,
id: &'_ str
) -> Result<UnixGroupToken, ClientError>
[src]
&'_ self,
id: &'_ str
) -> Result<UnixGroupToken, ClientError>
pub async fn idm_account_delete<'_, '_>(
&'_ self,
id: &'_ str
) -> Result<(), ClientError>
[src]
&'_ self,
id: &'_ str
) -> Result<(), ClientError>
pub async fn idm_group_delete<'_, '_>(
&'_ self,
id: &'_ str
) -> Result<(), ClientError>
[src]
&'_ self,
id: &'_ str
) -> Result<(), ClientError>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for KanidmAsyncClient
impl Send for KanidmAsyncClient
impl Sync for KanidmAsyncClient
impl Unpin for KanidmAsyncClient
impl !UnwindSafe for KanidmAsyncClient
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,