Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UrlEncodedToMap ¶
Types ¶
type Authentication ¶
type Authentication struct { HtClient *HttpClient MsAccessToken string MsRefreshToken *string }
func NewAuthentication ¶
func NewAuthentication(accessLink string) (*Authentication, error)
type HttpClient ¶
type HttpClient struct { LastRedirect string // contains filtered or unexported fields }
func NewHttpClient ¶
func NewHttpClient() *HttpClient
type MinecraftAuthentication ¶
type MinecraftAuthentication struct { AccessToken string XboxLive string Userhash string XstsToken string MinecraftToken string Client *HttpClient }
func NewMinecraftAuthentication ¶
func NewMinecraftAuthentication(accessToken string, client *HttpClient) (*MinecraftAuthentication, error)
func (*MinecraftAuthentication) AuthXSTS ¶
func (m *MinecraftAuthentication) AuthXSTS() error
func (*MinecraftAuthentication) AuthXboxLive ¶
func (m *MinecraftAuthentication) AuthXboxLive() error
func (*MinecraftAuthentication) AuthenticateMinecraft ¶
func (m *MinecraftAuthentication) AuthenticateMinecraft() error
func (*MinecraftAuthentication) GetProfile ¶
func (ac *MinecraftAuthentication) GetProfile() (*MinecraftProfile, error)
func (*MinecraftAuthentication) OwnsGame ¶
func (acc *MinecraftAuthentication) OwnsGame() bool
type MinecraftProfile ¶
Click to show internal directories.
Click to hide internal directories.