Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorAuthFailed = errors.New("Authentication failed")
View Source
var Instance = Authenticator{}
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator struct{}
func (Authenticator) Authenticate ¶
func (Authenticator) Authenticate(username string, serverID string, sharedSecret, publicKey []byte) (string, error)
Checks the users against the Mojang login servers
Click to show internal directories.
Click to hide internal directories.