auth.ts 366 B

1234567891011121314151617
  1. /**
  2. * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-License-Identifier: AGPL-3.0-or-later
  4. */
  5. export const getCurrentUser = function() {
  6. return {
  7. uid: 'test',
  8. displayName: 'Test',
  9. isAdmin: false,
  10. }
  11. }
  12. export const getRequestToken = function() {
  13. return 'test-token-1234'
  14. }
  15. export const onRequestTokenUpdate = function() {}