registry

package
v0.0.0-...-a6fd831 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RegistryPackage    = "registry"
	RegistryPackageFQN = "github.com/voedger/voedger/pkg/" + RegistryPackage
)

Variables

View Source
var (
	QNameViewLoginIdx = appdef.NewQName(RegistryPackage, "LoginIdx")

	QNameProjectorLoginIdx                            = appdef.NewQName(RegistryPackage, "ProjectorLoginIdx")
	QNameCommandCreateLogin                           = appdef.NewQName(RegistryPackage, "CreateLogin")
	QNameCommandResetPasswordByEmail                  = appdef.NewQName(RegistryPackage, "ResetPasswordByEmail")
	QNameCommandResetPasswordByEmailUnloggedParams    = appdef.NewQName(RegistryPackage, "ResetPasswordByEmailUnloggedParams")
	QNameQueryInitiateResetPasswordByEmail            = appdef.NewQName(RegistryPackage, "InitiateResetPasswordByEmail")
	QNameQueryIssueVerifiedValueTokenForResetPassword = appdef.NewQName(RegistryPackage, "IssueVerifiedValueTokenForResetPassword")
	QNameCDocLogin                                    = appdef.NewQName(RegistryPackage, "Login")
)

Functions

func ChangePassword

func ChangePassword(login string, st istructs.IState, intents istructs.IIntents, wsid istructs.WSID, appName string, newPwd string) error

func ChangePasswordCDocLogin

func ChangePasswordCDocLogin(cdocLogin istructs.IStateValue, newPwd string, intents istructs.IIntents, st istructs.IState) error

func CheckAppWSID

func CheckAppWSID(login string, urlWSID istructs.WSID, numAppWorkspaces istructs.NumAppWorkspaces) error

func CheckPassword

func CheckPassword(cdocLogin istructs.IStateValue, pwd string) (isPasswordOK bool, err error)

func GetCDocLogin

func GetCDocLogin(login string, st istructs.IState, appWSID istructs.WSID, appName string) (cdocLogin istructs.IStateValue, doesLoginExist bool, err error)

func GetCDocLoginID

func GetCDocLoginID(st istructs.IState, appWSID istructs.WSID, appName string, login string) (cdocLoginID istructs.RecordID, err error)

istructs.NullRecordID means not found

func GetLoginHash

func GetLoginHash(login string) string

func GetPasswordSaltedHash

func GetPasswordSaltedHash(pwd string) (pwdSaltedHash []byte, err error)

func ProvidePackageFS

func ProvidePackageFS() parser.PackageFS

func ProvideSyncProjectorLoginIdx

func ProvideSyncProjectorLoginIdx() istructs.Projector

Types

This section is empty.

Jump to

Keyboard shortcuts

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