login5

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2025 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Login5

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

func NewLogin5

func NewLogin5(log librespot.Logger, client *http.Client, deviceId, clientToken string) *Login5

func (*Login5) AccessToken

func (c *Login5) AccessToken() librespot.GetLogin5TokenFunc

func (*Login5) Login

func (c *Login5) Login(ctx context.Context, credentials proto.Message) error

func (*Login5) StoredCredential

func (c *Login5) StoredCredential() []byte

func (*Login5) Username

func (c *Login5) Username() string

type LoginError added in v0.2.0

type LoginError struct {
	Code pb.LoginError
}

func (*LoginError) Error added in v0.2.0

func (e *LoginError) Error() string

Jump to

Keyboard shortcuts

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