auth

package
v1.52.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2025 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Auth *authSrv = &authSrv{
	log: logrus.WithField("part", "Auth"),
}
View Source
var ErrNotLoggedIn = errors.New("not Logged In")
View Source
var Tokene = func(w io.Writer, o any) error {
	return json.NewEncoder(w).Encode(o)
}
View Source
var Ver1token func(f io.ReadSeeker, o any) error

Functions

This section is empty.

Types

type Account

type Account struct {
	// contains filtered or unexported fields
}

func (*Account) Chain

func (a *Account) Chain(ctx context.Context) (ChainKey *ecdsa.PrivateKey, ChainData string, err error)

func (*Account) Discovery

func (a *Account) Discovery() (d *discovery.Discovery, err error)

func (*Account) Gatherings

func (a *Account) Gatherings(ctx context.Context) (*discovery.GatheringsService, error)

func (*Account) MCToken

func (a *Account) MCToken(ctx context.Context) (*discovery.MCToken, error)

func (*Account) Name

func (a *Account) Name() string

func (*Account) PfToken

func (a *Account) PfToken(ctx context.Context, publicKey *ecdsa.PublicKey) (string, error)

func (*Account) PlayfabXblToken

func (a *Account) PlayfabXblToken(ctx context.Context) (*xbox.XBLToken, error)

func (*Account) Realms

func (a *Account) Realms() *realms.Client

func (*Account) Token

func (a *Account) Token(ctx context.Context) (t *oauth2.Token, err error)

func (*Account) XBLToken

func (a *Account) XBLToken(ctx context.Context) (*auth.XBLToken, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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