Categorygithub.com/Small-Ku/msauth
modulepackage
0.0.0-20211025192949-f765acc431c7
Repository: https://github.com/small-ku/msauth.git
Documentation: pkg.go.dev

# README

msauth

Minecraft的微软验证登陆

這是 https://github.com/BaiMeow/msauth 的分支,變更如下:

  1. 改以英語顯示
  2. 加以手動填入URL的方式登入,而可在無 PowerShell 的環境下使用

使用

1.调用SetClient()设置clientID,而clientSecret可为空,具体见https://wiki.vg/Microsoft_Authentication_Scheme

2.Login()登陆即可

# Functions

Login 返回玩家档案,AccessToken.
SetClient 来自microsoft的clientID和secret.

# Structs

No description provided by the author
No description provided by the author