func (dc *DexClient) Login(user, pwd string) error {
	return dc.LoginContext(context.Background(), user, pwd)
}
Login : Login to MangaDex.
https://api.mangadex.org/docs.html#operation/post-auth-login
package mangodex
import (
	"bytes"
	"context"
	"encoding/json"
	"fmt"
	"net/http"
	"net/url"
)
const (
	LoginPath        = "auth/login"
	CheckTokenPath   = "auth/check"
	LogoutPath       = "auth/logout"
	RefreshTokenPath = "auth/refresh"
)
type AuthResponse struct {
	Result  string  `json:"result"`
	Token   Token   `json:"token"`
	Message *string `json:"message"`
}
func (ar AuthResponse) GetResult() string {
	return ar.Result
}
type Token struct {
	Session string `json:"session"`
	Refresh string `json:"refresh"`
}
type TokenCheckResponse struct {
	OK              string   `json:"ok"`
	IsAuthenticated bool     `json:"isAuthenticated"`
	Roles           []string `json:"roles"`
	Permissions     []string `json:"permissions"`
}