pub struct AuthManager { /* private fields */ }Expand description
Authentication manager.
Implementations§
Source§impl AuthManager
impl AuthManager
pub fn new() -> Self
pub fn authenticate(&mut self, provided_token: &str) -> RealityResult<String>
pub fn is_auth_required(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuthManager
impl RefUnwindSafe for AuthManager
impl Send for AuthManager
impl Sync for AuthManager
impl Unpin for AuthManager
impl UnsafeUnpin for AuthManager
impl UnwindSafe for AuthManager
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