pub enum AuthMode {
Basic,
Jwt,
}
Expand description
Defines which ArangoDB
authentication mode will be used
Variants§
Basic
Basic Username/Password authentication mode
Jwt
Recommended JWT authentication.
Note:
The JWT has a 1 month validity (see arangors_lite
documentation)
And can lead to issues on docker
Trait Implementations§
impl Copy for AuthMode
Auto Trait Implementations§
impl RefUnwindSafe for AuthMode
impl Send for AuthMode
impl Sync for AuthMode
impl Unpin for AuthMode
impl UnwindSafe for AuthMode
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