types

package
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package types implements all the types used by the TicketGranting protocol

Package types implements all the types used by the TicketGranting protocol

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticationInfo

type AuthenticationInfo struct {
	types.Structure
	*types.Data
	Token         *types.String
	NGSVersion    *types.PrimitiveU32
	TokenType     *types.PrimitiveU8
	ServerVersion *types.PrimitiveU32
}

AuthenticationInfo is a type within the TicketGranting protocol

func NewAuthenticationInfo

func NewAuthenticationInfo() *AuthenticationInfo

NewAuthenticationInfo returns a new AuthenticationInfo

func (*AuthenticationInfo) Copy

func (ai *AuthenticationInfo) Copy() types.RVType

Copy returns a new copied instance of AuthenticationInfo

func (*AuthenticationInfo) Equals

func (ai *AuthenticationInfo) Equals(o types.RVType) bool

Equals checks if the given AuthenticationInfo contains the same data as the current AuthenticationInfo

func (*AuthenticationInfo) ExtractFrom

func (ai *AuthenticationInfo) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the AuthenticationInfo from the given readable

func (*AuthenticationInfo) FormatToString

func (ai *AuthenticationInfo) FormatToString(indentationLevel int) string

FormatToString pretty-prints the AuthenticationInfo using the provided indentation level

func (*AuthenticationInfo) String

func (ai *AuthenticationInfo) String() string

String returns the string representation of the AuthenticationInfo

func (*AuthenticationInfo) WriteTo

func (ai *AuthenticationInfo) WriteTo(writable types.Writable)

WriteTo writes the AuthenticationInfo to the given writable

type NintendoLoginData

type NintendoLoginData struct {
	types.Structure
	Token *types.String
}

NintendoLoginData is a type within the TicketGranting protocol

func NewNintendoLoginData

func NewNintendoLoginData() *NintendoLoginData

NewNintendoLoginData returns a new NintendoLoginData

func (*NintendoLoginData) Copy

func (nld *NintendoLoginData) Copy() types.RVType

Copy returns a new copied instance of NintendoLoginData

func (*NintendoLoginData) Equals

func (nld *NintendoLoginData) Equals(o types.RVType) bool

Equals checks if the given NintendoLoginData contains the same data as the current NintendoLoginData

func (*NintendoLoginData) ExtractFrom

func (nld *NintendoLoginData) ExtractFrom(readable types.Readable) error

ExtractFrom extracts the NintendoLoginData from the given readable

func (*NintendoLoginData) FormatToString

func (nld *NintendoLoginData) FormatToString(indentationLevel int) string

FormatToString pretty-prints the NintendoLoginData using the provided indentation level

func (*NintendoLoginData) String

func (nld *NintendoLoginData) String() string

String returns the string representation of the NintendoLoginData

func (*NintendoLoginData) WriteTo

func (nld *NintendoLoginData) WriteTo(writable types.Writable)

WriteTo writes the NintendoLoginData to the given writable

Jump to

Keyboard shortcuts

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