pub struct AuthBuilder {
http_client: HttpClientRef,
}
Expand description
Authentication endpoint handler builder.
Fields§
§http_client: HttpClientRef
Implementations§
Source§impl AuthBuilder
impl AuthBuilder
Sourcepub fn check(&self) -> CheckEndpoint
pub fn check(&self) -> CheckEndpoint
Check the current session token and get basic info about the authenticated user.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuthBuilder
impl !RefUnwindSafe for AuthBuilder
impl !Send for AuthBuilder
impl !Sync for AuthBuilder
impl Unpin for AuthBuilder
impl !UnwindSafe for AuthBuilder
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