requestauth

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAccount

func WithAccount(ctx context.Context, account Account) context.Context

Types

type Account

type Account struct {
	AccessToken string
	HardwareID  string
}

Account is the authorization snapshot for one operation. It is never stored on a shared transport client.

func FromContext

func FromContext(ctx context.Context) (Account, bool)

Jump to

Keyboard shortcuts

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