allex_userresolverservice

1.0.6 • Public • Published

UserResolverService

Works like this:

  1. Needs a data hash in its constuctor propertyhash, like
{
    data: {
      modulename: 'allex__somenamespace_usertableservice'
    }
}
  1. In the constructor a static subservice sink will be acquired, named 'db', sinking the instance of propertyhash.data.modulename instantiated with the very data hash as the propertyhash.

  2. user role will expose methods

    • resolveUser
    • fetchUser
    • registerUser
    • usernamesLike
    • usernameExists
  3. The methods exposed above will be usable through the EntryPoint instance of the allex_entrypointservice (or its child), via http calls.

Package Sidebar

Install

npm i allex_userresolverservice

Weekly Downloads

0

Version

1.0.6

License

ISC

Unpacked Size

26.2 kB

Total Files

24

Last publish

Collaborators

  • andrija-hers
  • veljkopopovic