Expand description
Builder for the auth session check endpoint.
https://api.mangadex.org/docs/swagger.html#/Auth/get-auth-check
§Examples
use mangadex_api::MangaDexClient;
use mangadex_api_types::{Password, Username};
let client = MangaDexClient::default();
let _login_res = client
.auth()
.login()
.post()
.username(Username::parse("myusername")?)
.password(Password::parse("hunter23")?)
.send()
.await?;
let auth_check_res = client
.auth()
.check()
.get()
.send()
.await?;
println!("auth check: {:?}", auth_check_res);
Structs§
- Check the session token and get additional user information.
- Builder for
CheckToken
.