user

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2022 License: MIT Imports: 4 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ServicesURL = "https://api.minecraftservices.com"

Functions

This section is empty.

Types

type KeyPairResp

type KeyPairResp struct {
	KeyPair struct {
		PrivateKey string `json:"privateKey"`
		PublicKey  string `json:"publicKey"`
	} `json:"keyPair"`
	PublicKeySignature string    `json:"publicKeySignature"`
	ExpiresAt          time.Time `json:"expiresAt"`
	RefreshedAfter     time.Time `json:"refreshedAfter"`
}

func GetOrFetchKeyPair

func GetOrFetchKeyPair(accessToken string) (KeyPairResp, error)

Jump to

Keyboard shortcuts

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