From 12431aa3997154aaea4eec11c2dd65f9e5dbe179 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Wed, 18 May 2016 12:03:22 +0200 Subject: list user's auth tokens on the personal settings page --- settings/js/authtoken.js | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 settings/js/authtoken.js (limited to 'settings/js/authtoken.js') diff --git a/settings/js/authtoken.js b/settings/js/authtoken.js new file mode 100644 index 00000000000..215192d7163 --- /dev/null +++ b/settings/js/authtoken.js @@ -0,0 +1,33 @@ +/* global Backbone */ + +/** + * @author Christoph Wurst + * + * @copyright Copyright (c) 2016, ownCloud, Inc. + * @license AGPL-3.0 + * + * This code is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, version 3, + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License, version 3, + * along with this program. If not, see + * + */ + +(function(OC, Backbone) { + 'use strict'; + + OC.Settings = OC.Settings || {}; + + var AuthToken = Backbone.Model.extend({ + }); + + OC.Settings.AuthToken = AuthToken; + +})(OC, Backbone); -- cgit v1.2.3