MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / authurl

Function authurl

protocol/net/authentication.go:17–19  ·  view source on GitHub ↗
(u, h string)

Source from the content-addressed store, hash-verified

15)
16
17func authurl(u, h string) string {
18 return "https://sessionserver.mojang.com/session/minecraft/hasJoined?username=" + u + "&serverId=" + h
19}
20
21func (conn *Conn) authenticate() error {
22 key, err := x509.MarshalPKIXPublicKey(&conn.listener.privKey.PublicKey)

Callers 1

authenticateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected