ticket_granting

package
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonProtocol

type CommonProtocol struct {
	SecureStationURL           *types.StationURL
	SpecialProtocols           []*types.PrimitiveU8
	StationURLSpecialProtocols *types.StationURL
	BuildName                  *types.String

	SessionKeyLength     int // TODO - Use server SessionKeyLength?
	SecureServerAccount  *nex.Account
	OnAfterLogin         func(packet nex.PacketInterface, strUserName *types.String)
	OnAfterLoginEx       func(packet nex.PacketInterface, strUserName *types.String, oExtraData *types.AnyDataHolder)
	OnAfterRequestTicket func(packet nex.PacketInterface, idSource *types.PID, idTarget *types.PID)
	// contains filtered or unexported fields
}

func NewCommonProtocol

func NewCommonProtocol(protocol ticket_granting.Interface) *CommonProtocol

NewCommonProtocol returns a new CommonProtocol

func (*CommonProtocol) DisableInsecureLogin

func (commonProtocol *CommonProtocol) DisableInsecureLogin()

func (*CommonProtocol) EnableInsecureLogin

func (commonProtocol *CommonProtocol) EnableInsecureLogin()

Jump to

Keyboard shortcuts

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