auth

package
v0.0.0-...-50e9496 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2013 License: Apache-2.0 Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL