Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including ember-cli-simple-auth with all npm packages installed. Try it out:

var emberCliSimpleAuth = require("ember-cli-simple-auth")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

ember-cli-simple-auth v0.8.0

Include the Ember Simple Auth base library into an Ember CLI application.

Ember Simple Auth

This is an npm package that contains the Ember Simple Auth base library packaged as an Ember CLI Addon.

Installation

Ember Simple Auth requires at least Ember CLI 0.0.44.

To install simply run

ember install ember-cli-simple-auth

in your Ember CLI project's root.

If you're using Ember CLI 0.2.2 or older, run

ember install:addon ember-cli-simple-auth

If you're using Ember CLI 0.1.4 or older, run

npm install --save-dev ember-cli-simple-auth
ember generate ember-cli-simple-auth

Configuration

Ember Simple Auth uses the Ember CLI project's configuration as defined in config/environment.js. Configure values for ENV['simple-auth'], e.g.:

ENV['simple-auth'] = {
  serverTokenRevocationEndpoint: '/revoke'
};

For the actual Ember Simple Auth repository see https://github.com/simplabs/ember-simple-auth

Generators

This addon comes with some generators that help with creating custom authenticators, authorizers, session stores or sessions:

ember generate authenticator custom
ember generate authorizer custom
ember generate session-store custom
ember generate session custom
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free