allex_userresolverservice
v1.0.6
Published
UserResolverService
Downloads
4
Readme
UserResolverService
Works like this:
- Needs a
data
hash in its constuctor propertyhash, like
{
data: {
modulename: 'allex__somenamespace_usertableservice'
}
}
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.user
role will expose methodsresolveUser
fetchUser
registerUser
usernamesLike
usernameExists
The methods exposed above will be usable through the EntryPoint instance of the allex_entrypointservice (or its child), via http calls.