user

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JWTSigner added in v0.6.0

type JWTSigner interface {
	SignUserJWT(ctx context.Context, accountRef domain.NamespacedName, claims *jwt.UserClaims) (*SignedUserJWT, error)
}

type Manager

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

func NewManager

func NewManager(userJWTSigner JWTSigner, secretClient ports.SecretClient) *Manager

func (*Manager) CreateOrUpdate

func (u *Manager) CreateOrUpdate(ctx context.Context, state *v1alpha1.User) error

func (*Manager) Delete

func (u *Manager) Delete(ctx context.Context, state *v1alpha1.User) error

type SignedUserJWT added in v0.6.0

type SignedUserJWT struct {
	UserJWT   string
	AccountID string
	SignedBy  string
}

Jump to

Keyboard shortcuts

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