Skip to content
This repository was archived by the owner on Sep 28, 2024. It is now read-only.

Repository files navigation

elefrant-validator Component

wercker status

Dependency Status

Usage

Validation for REST Services.

When the component is enable, all routes from the API are block to non users. If you want to make a route public:

module.exports=[{path: '/',method: 'GET',oauth: false,version: ['1.0.0'],action: 'users.v1.getAll'}];

Dependable components

elefrant-template-engine

elefrant-session

Structure

Config /config/

Copy oauth2.js from ./components/elefrant-oauth2 to main config folder.

Grants

Select the grunt types for the authentication server.

['password','refresh_token']

Launch tests

Just put in the console: npm test

License

MIT © Elefrant

About

Validation for REST Services

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages