pub struct AuthService<'a> { /* private fields */ }Implementations§
Source§impl<'a> AuthService<'a>
impl<'a> AuthService<'a>
pub fn login(&self) -> ImResult<SessionBundle>
pub async fn login_async(&self) -> ImResult<SessionBundle>
pub fn ensure_session(&self, scope: AuthScope) -> ImResult<SessionBundle>
pub async fn ensure_session_async( &self, scope: AuthScope, ) -> ImResult<SessionBundle>
pub fn refresh_session(&self) -> ImResult<SessionUpdate>
pub async fn refresh_session_async(&self) -> ImResult<SessionUpdate>
pub fn status(&self) -> ImResult<AuthStatus>
pub async fn status_async(&self) -> ImResult<AuthStatus>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for AuthService<'a>
impl<'a> !UnwindSafe for AuthService<'a>
impl<'a> Freeze for AuthService<'a>
impl<'a> Send for AuthService<'a>
impl<'a> Sync for AuthService<'a>
impl<'a> Unpin for AuthService<'a>
impl<'a> UnsafeUnpin for AuthService<'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