2023-03-01 09:39:41 -06:00
|
|
|
/**
|
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
|
|
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
*/
|
|
|
|
|
|
2020-08-13 18:04:27 -04:00
|
|
|
import Controller from '@ember/controller';
|
|
|
|
|
import { inject as service } from '@ember/service';
|
|
|
|
|
|
|
|
|
|
export default class ScopesScopeAuthMethodsNewController extends Controller {
|
|
|
|
|
// =services
|
|
|
|
|
|
|
|
|
|
@service intl;
|
|
|
|
|
|
|
|
|
|
// =attributes
|
|
|
|
|
|
2021-01-05 17:41:02 -05:00
|
|
|
queryParams = ['type'];
|
|
|
|
|
|
2020-08-13 18:04:27 -04:00
|
|
|
/**
|
|
|
|
|
* Translated new auth-method breadcrumb
|
|
|
|
|
* @type {string}
|
|
|
|
|
*/
|
|
|
|
|
get breadCrumb() {
|
2022-11-04 20:08:25 -07:00
|
|
|
return this.intl.t('resources.auth-method.titles.new');
|
2020-08-13 18:04:27 -04:00
|
|
|
}
|
|
|
|
|
}
|