package com.test; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention( RetentionPolicy.RUNTIME ) @Target({ ElementType.METHOD }) public @interface Test { } href='https://source.dussan.org/nextcloud-server.git/atom/apps/oauth2/src/main.js?h=fix/baseresponse/xml-element-value-string-cast' type='application/atom+xml'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/apps/oauth2/src/main.js
blob: 10d537455df29c772a39a28d687f7247655d2819 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
 * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */

import Vue from 'vue'
import App from './App.vue'
import { loadState } from '@nextcloud/initial-state'

Vue.prototype.t = t
Vue.prototype.OC = OC

const clients = loadState('oauth2', 'clients')

const View = Vue.extend(App)
const oauth = new View({
	propsData: {
		clients,
	},
})
oauth.$mount('#oauth2')