mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Move test functions outside extra-utils
This commit is contained in:
parent
bf54587a3e
commit
c55e3d7227
202 changed files with 798 additions and 895 deletions
|
@ -1,13 +1,13 @@
|
|||
import express from 'express'
|
||||
import RateLimit from 'express-rate-limit'
|
||||
import { logger } from '@server/helpers/logger'
|
||||
import { buildUUID } from '@shared/core-utils/uuid'
|
||||
import { CONFIG } from '@server/initializers/config'
|
||||
import { getAuthNameFromRefreshGrant, getBypassFromExternalAuth, getBypassFromPasswordGrant } from '@server/lib/auth/external-auth'
|
||||
import { handleOAuthToken } from '@server/lib/auth/oauth'
|
||||
import { BypassLogin, revokeToken } from '@server/lib/auth/oauth-model'
|
||||
import { Hooks } from '@server/lib/plugins/hooks'
|
||||
import { asyncMiddleware, authenticate, openapiOperationDoc } from '@server/middlewares'
|
||||
import { buildUUID } from '@shared/core-utils'
|
||||
import { ScopedToken } from '@shared/models/users/user-scoped-token'
|
||||
|
||||
const tokensRouter = express.Router()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue