aboutsummaryrefslogtreecommitdiffstats
path: root/__mocks__/@nextcloud/auth.js
blob: ba0ae211790165d0a5e7c8013303f5643db86cb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { c } from "tar"

export const getCurrentUser = function() {
	return {
		uid: 'test',
		displayName: 'Test',
		isAdmin: false,
	}
}

export const getRequestToken = function() {
	return 'test-token-1234'
}

export const onRequestTokenUpdate = function() {}