dogstack-agents v1.1.0
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-agentspost{,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.jsactionsfromfeathers-action./credentials/index.jsactionsfromfeathers-action./profiles/index.jsactionsfromfeathers-action./authentication/actions.js
updater
concats
./agents/index.jsupdaterfromfeathers-action./credentials/index.jsupdaterfromfeathers-action./profiles/index.jsupdaterfromfeathers-action./authentication/updater.js
epic
combines
./agents/index.jsepicfromfeathers-action./credentials/index.jsepicfromfeathers-action./profiles/index.jsepicfromfeathers-action./authentication/epic.js
getters
exports the following getters
getAgentsgetCurrentAgentgetCredentialsgetCredentialByAgentgetProfilesgetProfileByAgentgetAuthenticationgetAuthenticationConfiggetCredentialIdgetAccessTokengetSigningIngetIsAuthenticatedgetIsNotAuthenticatedgetRegisterErrorgetRegisterPropsgetSignInErrorgetSignInProps
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.0Unless 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.
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
