pub struct LdapAuthHandler<'a> { /* private fields */ }Trait Implementations§
Source§impl<'a> Debug for LdapAuthHandler<'a>
impl<'a> Debug for LdapAuthHandler<'a>
Source§impl LdapAuthOperations for LdapAuthHandler<'_>
impl LdapAuthOperations for LdapAuthHandler<'_>
async fn login( &self, username: &str, password: &SecretString, ) -> Result<AuthInfo, VaultError>
async fn configure(&self, config: &LdapConfigRequest) -> Result<(), VaultError>
async fn read_config(&self) -> Result<LdapConfig, VaultError>
async fn write_group( &self, name: &str, params: &LdapGroupRequest, ) -> Result<(), VaultError>
async fn read_group(&self, name: &str) -> Result<LdapGroup, VaultError>
async fn delete_group(&self, name: &str) -> Result<(), VaultError>
async fn list_groups(&self) -> Result<Vec<String>, VaultError>
async fn write_user( &self, name: &str, params: &LdapUserRequest, ) -> Result<(), VaultError>
async fn read_user(&self, name: &str) -> Result<LdapUser, VaultError>
async fn delete_user(&self, name: &str) -> Result<(), VaultError>
async fn list_users(&self) -> Result<Vec<String>, VaultError>
Auto Trait Implementations§
impl<'a> Freeze for LdapAuthHandler<'a>
impl<'a> !RefUnwindSafe for LdapAuthHandler<'a>
impl<'a> Send for LdapAuthHandler<'a>
impl<'a> Sync for LdapAuthHandler<'a>
impl<'a> Unpin for LdapAuthHandler<'a>
impl<'a> UnsafeUnpin for LdapAuthHandler<'a>
impl<'a> !UnwindSafe for LdapAuthHandler<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more