Skip to content
This repository has been archived by the owner on Dec 5, 2017. It is now read-only.

mainmatter/ember-cli-simple-auth-cookie-store

Repository files navigation

Ember Simple Auth Cookie Store

This repository is deprecated. Ember Simple Auth 1.0 is distributed as an Ember CLI Addon that contains all of the previously individual parts of the library.

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

Installation

Ember Simple Auth Cookie Store requires at least Ember CLI 0.0.44.

To install simply run

ember install ember-cli-simple-auth
ember install ember-cli-simple-auth-cookie-store

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
ember install:addon ember-cli-simple-auth-cookie-store

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
npm install --save-dev ember-cli-simple-auth-cookie-store
ember generate ember-cli-simple-auth-cookie-store

in your Ember CLI project's root.

Configuration

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

ENV['simple-auth-cookie-store'] = {
  cookieName: 'custom-cookie-name'
};

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