open-nomad/ui/app/components/forbidden-message.js
2023-04-10 15:36:59 +00:00

19 lines
410 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Component from '@ember/component';
import { tagName } from '@ember-decorators/component';
import { inject as service } from '@ember/service';
@tagName('')
export default class ForbiddenMessage extends Component {
@service token;
@service store;
get authMethods() {
return this.store.findAll('auth-method');
}
}