[][src]Struct kanidm_client::asynchronous::KanidmAsyncClient

pub struct KanidmAsyncClient { /* fields omitted */ }

Methods

impl KanidmAsyncClient[src]

pub async fn auth_step_init<'_, '_, '_>(
    &'_ self,
    ident: &'_ str,
    appid: Option<&'_ str>
) -> Result<AuthState, ClientError>
[src]

pub async fn auth_simple_password<'_, '_, '_>(
    &'_ self,
    ident: &'_ str,
    password: &'_ str
) -> Result<UserAuthToken, ClientError>
[src]

pub async fn auth_anonymous<'_>(&'_ self) -> Result<UserAuthToken, ClientError>[src]

pub async fn whoami<'_>(
    &'_ self
) -> Result<Option<(Entry, UserAuthToken)>, ClientError>
[src]

pub async fn idm_account_unix_token_get<'_, '_>(
    &'_ self,
    id: &'_ str
) -> Result<UnixUserToken, ClientError>
[src]

pub async fn idm_group_unix_token_get<'_, '_>(
    &'_ self,
    id: &'_ str
) -> Result<UnixGroupToken, ClientError>
[src]

pub async fn idm_account_delete<'_, '_>(
    &'_ self,
    id: &'_ str
) -> Result<(), ClientError>
[src]

pub async fn idm_group_delete<'_, '_>(
    &'_ self,
    id: &'_ str
) -> Result<(), ClientError>
[src]

Trait Implementations

impl Debug for KanidmAsyncClient[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.