auth

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrivateKeyDerivePublicKey

func PrivateKeyDerivePublicKey(pvtKeyBytes []byte) ([]byte, error)

Types

type Bootstrapper

type Bootstrapper interface {
	GenerateSecretPayload(ctx context.Context, host string, pureuserPrivateKey []byte) ([]byte, error)
	OptOutDefaultProtectionPolicy(ctx context.Context, host string, pureuserPrivateKey []byte) error
}

func NewBootstrapService

func NewBootstrapService() Bootstrapper

type SecretPayload

type SecretPayload struct {
	UserName       string `json:"user_name"`
	Issuer         string `json:"issuer"`
	ClientID       string `json:"client_id"`
	KeyID          string `json:"key_id"`
	RestPrivateKey string `json:"rest_private_key"`
}

Jump to

Keyboard shortcuts

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