Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteCredentials ¶
func WriteCredentials(path string, cred *StoredMicrosoftCredentials) error
Types ¶
type MicrosoftCredentialsManager ¶
func NewMicrosoftCredentialsManager ¶
func NewMicrosoftCredentialsManager(root string, appid string) *MicrosoftCredentialsManager
func (*MicrosoftCredentialsManager) GetAuthForUsername ¶
func (c *MicrosoftCredentialsManager) GetAuthForUsername(username string) (*gmma.BotAuth, error)
func (*MicrosoftCredentialsManager) GetFilePath ¶
func (c *MicrosoftCredentialsManager) GetFilePath(username string) string
type StoredMicrosoftCredentials ¶
type StoredMicrosoftCredentials struct {
Microsoft gmma.MSauth
Minecraft gmma.MCauth
MinecraftUUID string
}
func ReadCredentials ¶
func ReadCredentials(path string) (*StoredMicrosoftCredentials, error)
Click to show internal directories.
Click to hide internal directories.