register

package
v1.84.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Error = errs.Class("register")

Error is the default error class for the register package.

Functions

This section is empty.

Types

type Credentials

type Credentials struct {
	AccessKeyID string `json:"access_key_id"`
	SecretKey   string `json:"secret_key"`
	Endpoint    string `json:"endpoint"`
}

Credentials represents authservice's response.

func Access

func Access(ctx context.Context, authAddr, access string, public bool) (Credentials, error)

Access registers access at authservice at authAddr.

func (Credentials) String

func (c Credentials) String() string

Jump to

Keyboard shortcuts

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