Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
// @ts-check
import Model from '@ember-data/model';
import { attr } from '@ember-data/model';
export default class AuthMethodModel extends Model {
@attr('string') name;
/**
* @type {'JWT' | 'OIDC'}
*/
@attr('string') type;
@attr('string') tokenLocality;
@attr('string') maxTokenTTL;
@attr('boolean') default;
@attr('date') createTime;
@attr('number') createIndex;
@attr('date') modifyTime;
@attr('number') modifyIndex;
getAuthURL(params) {
return this.store.adapterFor('authMethod').getAuthURL(params);
}