dogstack-agents
v1.1.0
Published
dogstack plugin to provide core user authentication, profiles, and relationships
Downloads
15
Keywords
Readme
dogstack-agents
dogstack plugin to provide core user functionality
- agents (people, groups, or bots)
- credentials
- profiles
- TODO relationships
- authentication
- authorization
example
for an example using dogstack-agents
, see dogstack-example
install
npm install --save dogstack-agents
post{,un}install script
after install, this module should link migrations in ./db/migrations
to your app migrations in the same relative directory.
after uninstall, this module should unlink these linked migrations.
usage
{ config, service, actions, updater, epic, ...getters, ...components, ...hoc, ...hooks } = require('dogstack-agents')
config
default config to merge in with config/default.js
.
service
feathers
service to plug in to dogstack server.js
combines
actions
exports { agents, credentials, authentication }
action creators from
./agents/index.js
actions
fromfeathers-action
./credentials/index.js
actions
fromfeathers-action
./profiles/index.js
actions
fromfeathers-action
./authentication/actions.js
updater
concats
./agents/index.js
updater
fromfeathers-action
./credentials/index.js
updater
fromfeathers-action
./profiles/index.js
updater
fromfeathers-action
./authentication/updater.js
epic
combines
./agents/index.js
epic
fromfeathers-action
./credentials/index.js
epic
fromfeathers-action
./profiles/index.js
epic
fromfeathers-action
./authentication/epic.js
getters
exports the following getters
getAgents
getCurrentAgent
getCredentials
getCredentialByAgent
getProfiles
getProfileByAgent
getAuthentication
getAuthenticationConfig
getCredentialId
getAccessToken
getSigningIn
getIsAuthenticated
getIsNotAuthenticated
getRegisterError
getRegisterProps
getSignInError
getSignInProps
components
TODO React components to use in your app
exports the following components
hoc
higher-order React components to use in your app
exports the following higher-order components:
hooks
exports the following hooks
license
The Apache License
Copyright © 2017 Michael Williams
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.