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-agentsafter 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.jsactionsfromfeathers-action./credentials/index.jsactionsfromfeathers-action./profiles/index.jsactionsfromfeathers-action./authentication/actions.js
concats
./agents/index.jsupdaterfromfeathers-action./credentials/index.jsupdaterfromfeathers-action./profiles/index.jsupdaterfromfeathers-action./authentication/updater.js
combines
./agents/index.jsepicfromfeathers-action./credentials/index.jsepicfromfeathers-action./profiles/index.jsepicfromfeathers-action./authentication/epic.js
exports the following getters
getAgentsgetCurrentAgentgetCredentialsgetCredentialByAgentgetProfilesgetProfileByAgentgetAuthenticationgetAuthenticationConfiggetCredentialIdgetAccessTokengetSigningIngetIsAuthenticatedgetIsNotAuthenticatedgetRegisterErrorgetRegisterPropsgetSignInErrorgetSignInProps
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.
