mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-07-17 06:54:34 +00:00
Client certificate support is added as a new separate type of option for access-lists. This commit is the support code to enable access-lists to contain Client Certificate references.
27 lines
607 B
JavaScript
27 lines
607 B
JavaScript
const Backbone = require('backbone');
|
|
|
|
const model = Backbone.Model.extend({
|
|
idAttribute: 'id',
|
|
|
|
defaults: function () {
|
|
return {
|
|
id: undefined,
|
|
created_on: null,
|
|
modified_on: null,
|
|
name: '',
|
|
items: [],
|
|
clients: [],
|
|
clientcas: [],
|
|
// The following are expansions:
|
|
owner: null
|
|
};
|
|
}
|
|
});
|
|
|
|
module.exports = {
|
|
Model: model,
|
|
Collection: Backbone.Collection.extend({
|
|
model: model
|
|
})
|
|
};
|