2023-03-01 09:39:41 -06:00
|
|
|
/**
|
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
|
|
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
*/
|
|
|
|
|
|
2021-04-02 16:06:38 -04:00
|
|
|
import Route from '@ember/routing/route';
|
2021-04-28 17:55:30 -04:00
|
|
|
import { inject as service } from '@ember/service';
|
2021-04-02 16:06:38 -04:00
|
|
|
|
2021-04-14 16:11:13 -04:00
|
|
|
export default class AuthenticationErrorRoute extends Route {
|
2021-04-28 17:55:30 -04:00
|
|
|
// =services
|
|
|
|
|
|
|
|
|
|
@service('browser/window') window;
|
|
|
|
|
|
2021-04-14 16:11:13 -04:00
|
|
|
// =methods
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @return {string}
|
|
|
|
|
*/
|
|
|
|
|
model() {
|
2021-04-28 17:55:30 -04:00
|
|
|
return this.window.location.toString();
|
2021-04-14 16:11:13 -04:00
|
|
|
}
|
|
|
|
|
}
|