import Ember from 'ember';
import ApplicationRouteMixin from 'ember-simple-auth/mixins/application-route-mixin'

export default Ember.Route.extend( ApplicationRouteMixin, {
  init() {
    this._super();
  },
  sessionAuthenticated(){
    alert('Got authenticated!');
  },
  sessionInvalidated(){
    alert('Got invalidated');
  }
} );

import Ember from 'ember';
import ApplicationRouteMixin from 'ember-simple-auth/mixins/application-route-mixin'

export default Ember.Route.extend( ApplicationRouteMixin, {
  init() {
    this._super();
  },
  sessionAuthenticated(){
    alert('Got authenticated!');
    this._super.call(this);
  },
  sessionInvalidated(){
    alert('Got invalidated');
    this._super.call(this);
  }
} );

Call super-method from Mixin in sessionAuthenticated and sessionInvalidated
Call super-method from Mixin in sessionAuthenticated and sessionInvalidated
