Documentation
¶
Index ¶
- Constants
- func AuthMSLogin(username, password string) (string, error)
- func AuthXBL(MStoken string) (string, error)
- func GetMCcredentialsByPassword(username, password string) (*oauth2.Token, error)
- func ReadAccount(authName string, forceUpdate ...bool) (*oauth2.Token, error)
- type Account
- type MCauth
- type MSauth
- type XSTSauth
Constants ¶
View Source
const AzureClientIDEnvVar = "AzureClientID"
AzureClientIDEnvVar Used to lookup Azure client id via os.Getenv if cid is not passed
Variables ¶
This section is empty.
Functions ¶
func AuthMSLogin ¶
func GetMCcredentialsByPassword ¶
GetMCcredentialsByPassword From 0 to Minecraft Auth with cache using password flow
Types ¶
type MSauth ¶
MSauth holds Microsoft auth credentials
func RefreshMSCode ¶
RefreshMSCode Checks MSauth for expired token and refreshes if needed
Click to show internal directories.
Click to hide internal directories.