frostfsid

package
v0.30.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Cache     *cache.FrostfsIDCache
	FrostFSID *contract.FrostFSID
	Logger    *zap.Logger
}

type FrostFSID

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

func NewFrostFSID

func NewFrostFSID(cfg Config) (*FrostFSID, error)

NewFrostFSID creates new FrostfsID wrapper.

func (*FrostFSID) GetUserAddress

func (f *FrostFSID) GetUserAddress(namespace, name string) (string, error)

func (*FrostFSID) GetUserGroupIDsAndClaims added in v0.30.0

func (f *FrostFSID) GetUserGroupIDsAndClaims(userHash util.Uint160) ([]string, map[string]string, error)

func (*FrostFSID) GetUserKey

func (f *FrostFSID) GetUserKey(namespace, name string) (string, error)

func (*FrostFSID) ValidatePublicKey

func (f *FrostFSID) ValidatePublicKey(key *keys.PublicKey) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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