Files
threshold-ui/addons/api/addon/models/fragment-account-attributes.js
T

17 lines
539 B
JavaScript
Raw Normal View History

import Fragment from 'ember-data-model-fragments/fragment';
import { attr } from '@ember-data/model';
export default class FragmentAccountAttributesModel extends Fragment {
2021-06-04 13:38:23 -04:00
// =attributes (password)
@attr('string', {
2021-06-04 13:38:23 -04:00
for: 'password',
2020-09-16 14:29:02 -04:00
description: 'The account login name',
})
login_name;
2021-06-04 13:38:23 -04:00
// =attributes (OIDC)
@attr('string', { for: 'oidc' }) subject;
@attr('string', { for: 'oidc' }) issuer;
@attr('string', { for: 'oidc', readOnly: true }) email;
@attr('string', { for: 'oidc', readOnly: true }) full_name;
}