v2.0.0-beta1
Merge branch 'release/2.0.0-beta1' into production
Merge tag 'v2.0.0-beta1'

2.0.0-beta1

 * v2.0.0-beta1 (Raymond Feng)

 * Update deps (Raymond Feng)

 * Remove obsolete tests (Raymond Feng)

 * Tidy up missing user/app id error handling (Raymond Feng)

 * Tidy up validation of code and token (Raymond Feng)

 * Tidy up the endpoints based on tests from strong-gateway (Raymond Feng)

 * Add refresh token generation (Raymond Feng)

 * Export authenticate as a factory to middleware chain (Raymond Feng)

 * Fix the JWT parsing (Raymond Feng)

 * Add relations to oAuth models (Raymond Feng)

 * Allows email/username for login (Raymond Feng)

 * Use app.middleware to register handlers (Raymond Feng)

 * Refactor models into json definitions (Raymond Feng)

 * Link to docs - leave minimal README. (Rand McKinney)

 * Fix link to the gateway example (Raymond Feng)

 * Add CONTRIBUTING.md with contribution guidelines (Ryan Graham)

 * Fix the jwt verification (Raymond Feng)

 * Fix the findOne query objects (Raymond Feng)

 * Ident the code (Raymond Feng)

 * Update input to decision view/page (Raymond Feng)

 * Add decisionPage (Raymond Feng)

 * Tidy up and document options (Raymond Feng)

 * Align properties with existing accessToken/application models (Raymond Feng)

 * Set up access token into the req object (Raymond Feng)

 * Re-org the code so that protocol endpoints are decoupled from auth (Raymond Feng)

 * Make more steps configurable (Raymond Feng)

 * Move more configuration into the component (Raymond Feng)

 * Update docs (Raymond Feng)

 * Clean up bootstrap (Raymond Feng)

 * Rename to loopback-component-oauth2 (Raymond Feng)

 * Add more options (Raymond Feng)

 * Update README (Raymond Feng)

 * Fix token generation (Raymond Feng)

 * Support jwt client auth and authorization grant (Raymond Feng)

 * Enable JWT (Raymond Feng)

 * Add options to generateToken (Raymond Feng)

 * Add more debug statements (Raymond Feng)

 * Make sure authCode is found (Raymond Feng)

 * Tidy up oAuth2 integration (Raymond Feng)

 * Add more information to authInfo (Raymond Feng)

 * Tidy up models (Raymond Feng)

 * Move examples to loopback-example-oauth2 (Raymond Feng)

 * Upgrade deps (Raymond Feng)

 * Upgrade to LB 2.0 (Raymond Feng)

 * Add admin UI (Raymond Feng)

 * Fix the ejs templates (Raymond Feng)

 * Fix the model calls (Raymond Feng)

 * Rename express3 to loopback (Raymond Feng)

 * Allow the oauth models to be auto attached (Raymond Feng)

 * Try to bring up the e2e example (Raymond Feng)

 * Add NOTICE file (Raymond Feng)

 * Update license to dual Artistic-2.0/StrongLoop (Raymond Feng)

 * Code style clean up (Raymond Feng)

 * Fix typo in doc-block (Thierry Marianne)

 * Bring up the bearer example (Raymond Feng)

 * Start to add loopback integration (Raymond Feng)

 * Add scope param (Raymond Feng)

 * Fix merge problems (Raymond Feng)

 * Update package.json (Raymond Feng)

 * Relocate the repo (Raymond Feng)

 * Add the scope for token saving (Raymond Feng)

 * Start to enable http-proxy (Raymond Feng)

 * Protect the "/protected" with oAuth bearer token (Raymond Feng)

 * Add more info to the README.md (Raymond Feng)

 * Bring up more grant types (Raymond Feng)

 * Fix the field name (Raymond Feng)

 * Format the code using Eclipse (Raymond Feng)

 * More refactoring and UI enhancements (Raymond Feng)

 * Upgrade to express 3.x and enable SSL (Raymond Feng)

 * Move the initialization of oauth users/clients to index.js (Raymond Feng)

 * Fix the token grant reg (Raymond Feng)

 * Use MongoDB as the store for oAuth 2.0 metadata (Raymond Feng)

 * Fix quality badge. (Jared Hanson)

 * Delint tests. (Jared Hanson)

 * Add tips badge to README. (Jared Hanson)

 * Add quality badge to README. (Jared Hanson)

 * Remove unused support files. (Jared Hanson)

 * Update support files. (Jared Hanson)