2023-03-14 13:18:55 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
2023-08-11 13:12:13 +00:00
|
|
|
* SPDX-License-Identifier: BUSL-1.1
|
2023-03-14 13:18:55 +00:00
|
|
|
*/
|
|
|
|
|
2020-11-09 17:29:12 +00:00
|
|
|
import Model, { attr } from '@ember-data/model';
|
2020-05-05 16:29:35 +00:00
|
|
|
|
|
|
|
export const PRIMARY_KEY = 'uid';
|
|
|
|
export const SLUG_KEY = 'Name';
|
2020-11-09 17:29:12 +00:00
|
|
|
|
|
|
|
export default class OidcProvider extends Model {
|
|
|
|
@attr('string') uid;
|
|
|
|
@attr('string') Name;
|
|
|
|
|
|
|
|
@attr('string') Datacenter;
|
|
|
|
@attr('string') Namespace;
|
2021-09-15 18:50:11 +00:00
|
|
|
@attr('string') Partition;
|
2020-11-09 17:29:12 +00:00
|
|
|
@attr('string') Kind;
|
|
|
|
@attr('string') AuthURL;
|
|
|
|
@attr('string') DisplayName;
|
|
|
|
@attr() meta; // {}
|
|
|
|
}
|