New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-simple-auth

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-simple-auth - npm Package Compare versions

Comparing version 0.6.6 to 0.6.7

12

app/initializers/simple-auth.js

@@ -1,3 +0,11 @@

import initializer from 'simple-auth/initializer';
import Configuration from 'simple-auth/configuration';
import setup from 'simple-auth/setup';
import ENV from '../config/environment';
export default initializer;
export default {
name: 'simple-auth',
initialize: function(container, application) {
Configuration.load(container, ENV['simple-auth'] || {});
setup(container, application);
}
};

2

blueprints/ember-cli-simple-auth/index.js

@@ -6,4 +6,4 @@ module.exports = {

afterInstall: function() {
return this.addBowerPackageToProject('ember-simple-auth', '0.6.6');
return this.addBowerPackageToProject('ember-simple-auth', '0.6.7');
}
};

@@ -0,1 +1,3 @@

var path = require('path');
module.exports = {

@@ -21,3 +23,3 @@ name: 'Ember CLI Simple Auth',

'simple-auth/configuration': ['default'],
'simple-auth/initializer': ['default']
'simple-auth/setup': ['default']
}

@@ -24,0 +26,0 @@ });

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "0.6.6",
"version": "0.6.7",
"description": "Include the Ember Simple Auth base library into an Ember CLI application.",

@@ -8,0 +8,0 @@ "main": "index.js",

@@ -8,3 +8,3 @@ # Ember Simple Auth

**Ember Simple Auth OAuth 2.0 requires at least Ember CLI 0.0.42.**
**Ember Simple Auth requires at least Ember CLI 0.0.44.**

@@ -20,11 +20,11 @@ To install simply run

**Ember CLI now uses `window.[AppName]ENV` for environment configuration
variables. Ember Simple Auth relies on `window.ENV` to read its configuration
from though, so you'll also need to add this line to your `app/index.html`
file:**
### Configuration
```diff
window.MyAppENV = {{ENV}};
+ window.ENV = window.MyAppENV;
window.EmberENV = window.MyAppENV.EmberENV;
Ember Simple Auth uses the Ember CLI project's configuration as defined in
`config/environment.js`. Configure values for `ENV['simple-auth']`, e.g.:
```js
ENV['simple-auth] = {
serverTokenRevocationEndpoint: '/revoke'
};
```

@@ -31,0 +31,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc