Documentation ¶
Index ¶
- Constants
- Variables
- func ChangePassword(login string, st istructs.IState, intents istructs.IIntents, ...) error
- func ChangePasswordCDocLogin(cdocLogin istructs.IStateValue, newPwd string, intents istructs.IIntents, ...) error
- func CheckAppWSID(login string, urlWSID istructs.WSID, ...) error
- func CheckPassword(cdocLogin istructs.IStateValue, pwd string) (isPasswordOK bool, err error)
- func GetCDocLogin(login string, st istructs.IState, appWSID istructs.WSID, appName string) (cdocLogin istructs.IStateValue, doesLoginExist bool, err error)
- func GetCDocLoginID(st istructs.IState, appWSID istructs.WSID, appName string, login string) (cdocLoginID istructs.RecordID, err error)
- func GetLoginHash(login string) string
- func GetPasswordSaltedHash(pwd string) (pwdSaltedHash []byte, err error)
- func Provide(cfg *istructsmem.AppConfigType, asp istructs.IAppStructsProvider, ...) parser.PackageFS
- func ProvidePackageFS() parser.PackageFS
- func ProvideSyncProjectorLoginIdx() istructs.Projector
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 ChangePasswordCDocLogin ¶
func CheckAppWSID ¶
func CheckPassword ¶
func CheckPassword(cdocLogin istructs.IStateValue, pwd string) (isPasswordOK bool, err error)
func GetCDocLogin ¶
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 GetPasswordSaltedHash ¶
func Provide ¶
func Provide(cfg *istructsmem.AppConfigType, asp istructs.IAppStructsProvider, itokens itokens.ITokens, federation federation.IFederation) parser.PackageFS
func ProvidePackageFS ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.