import CustomAuthenticator from '../authenticators/custom';
import CustomAuthorizer from '../authorizers/custom';

export default {
  name: 'authentication',
  before: 'simple-auth',
  initialize: function (container) {
    container.register('authorizer:custom', CustomAuthorizer);
    container.register('authenticator:custom', CustomAuthenticator);
  }
};

import CustomAuthenticator from '../authenticators/custom';
import CustomAuthorizer from '../authorizers/custom';

export function initialize(container) {
  container.register('authenticator:custom', CustomAuthenticator);
  container.register('authorizer:custom', CustomAuthorizer);
}

export default {
  name: 'authentication',
  before: 'simple-auth',
  initialize: initialize
};

Remove back auth initialize function to make test work
Remove back auth initialize function to make test work
