* [COMPLIANCE] Add Copyright and License Headers * chore: 🤖 update Copyright headers to satisfy our lint rules --------- Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
31 lines
610 B
JavaScript
31 lines
610 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
import Component from '@glimmer/component';
|
|
import { options } from 'api/models/auth-method';
|
|
|
|
export default class FormAuthMethodOidcComponent extends Component {
|
|
// =attributes
|
|
/**
|
|
* @type {object}
|
|
*/
|
|
signingAlgorithms = options.oidc.signing_algorithms;
|
|
|
|
/**
|
|
* @type {object}
|
|
*/
|
|
toClaims = options.oidc.account_claim_maps.to;
|
|
|
|
/**
|
|
* @type {string}
|
|
*/
|
|
newToClaim = options.oidc.account_claim_maps.to[0];
|
|
|
|
/**
|
|
* @type {string}
|
|
*/
|
|
newSigningAlgorithm = options.oidc.signing_algorithms[0];
|
|
}
|