import Configuration from 'ember-simple-auth/configuration';

Ember Simple Auth's configuration object.

Properties

source static public readonly

authenticationRoute: String

Deprecated:Use authenticationRoute instead

Default: 'login'

The route to transition to for authentication. The AuthenticatedRouteMixin will transition to this route when a route that implements the mixin is accessed when the route is not authenticated.

source static public readonly

baseURL: String

Default: ''

The base URL of the application as configured in config/environment.js.

source static public readonly

rootURL: String

Default: ''

The root URL of the application as configured in config/environment.js.

source static public readonly

routeAfterAuthentication: String

Deprecated:Use routeAfterAuthentication instead

Default: 'index'

The route to transition to after successful authentication.

source static public readonly

routeIfAlreadyAuthenticated: String

Deprecated:Use routeIfAlreadyAuthenticated instead

Default: 'index'

The route to transition to if a route that implements the UnauthenticatedRouteMixin is accessed when the session is authenticated.