2023-03-14 14:18:55 +01:00
|
|
|
/**
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
2023-08-11 09:12:13 -04:00
|
|
|
* SPDX-License-Identifier: BUSL-1.1
|
2023-03-14 14:18:55 +01:00
|
|
|
*/
|
|
|
|
|
2020-11-09 17:29:12 +00:00
|
|
|
import Model, { attr } from '@ember-data/model';
|
2020-05-05 17:29:35 +01: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 19:50:11 +01:00
|
|
|
@attr('string') Partition;
|
2020-11-09 17:29:12 +00:00
|
|
|
@attr('string') Kind;
|
|
|
|
@attr('string') AuthURL;
|
|
|
|
@attr('string') DisplayName;
|
|
|
|
@attr() meta; // {}
|
|
|
|
}
|