dogstack plugin to provide core user functionality
- agents (people, groups, or bots)
- credentials
- profiles
- TODO relationships
- authentication
- authorization
for an example using dogstack-agents
, see dogstack-example
npm install --save dogstack-agents
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.
{ config, service, actions, updater, epic, ...getters, ...components, ...hoc, ...hooks } = require('dogstack-agents')
default config to merge in with config/default.js
.
feathers
service to plug in to dogstack server.js
combines
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
concats
./agents/index.js
updater
fromfeathers-action
./credentials/index.js
updater
fromfeathers-action
./profiles/index.js
updater
fromfeathers-action
./authentication/updater.js
combines
./agents/index.js
epic
fromfeathers-action
./credentials/index.js
epic
fromfeathers-action
./profiles/index.js
epic
fromfeathers-action
./authentication/epic.js
exports the following getters
getAgents
getCurrentAgent
getCredentials
getCredentialByAgent
getProfiles
getProfileByAgent
getAuthentication
getAuthenticationConfig
getCredentialId
getAccessToken
getSigningIn
getIsAuthenticated
getIsNotAuthenticated
getRegisterError
getRegisterProps
getSignInError
getSignInProps
TODO React components to use in your app
exports the following components
higher-order React components to use in your app
exports the following higher-order components:
exports the following hooks
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.