Begin auth plugin support
authorChocobozzz <me@florianbigard.com>
Wed, 22 Apr 2020 14:07:04 +0000 (16:07 +0200)
committerChocobozzz <chocobozzz@cpy.re>
Mon, 4 May 2020 14:21:39 +0000 (16:21 +0200)
commit7fed637506043e4432cbebe041ada0625171cceb
tree07f174e17c4b4a0b3d43a0fa6944865c06234338
parent8d4197637868d5cde49434e937186b57e40f4b2b
Begin auth plugin support
23 files changed:
.eslintrc.json
server/controllers/api/users/index.ts
server/lib/auth.ts [new file with mode: 0644]
server/lib/oauth-model.ts
server/lib/plugins/plugin-manager.ts
server/lib/plugins/register-helpers-store.ts
server/lib/user.ts
server/lib/video-channel.ts
server/middlewares/oauth.ts
server/models/account/user.ts
server/tests/api/users/users.ts
server/tests/fixtures/peertube-plugin-test-id-pass-auth-one/main.js [new file with mode: 0644]
server/tests/fixtures/peertube-plugin-test-id-pass-auth-one/package.json [new file with mode: 0644]
server/tests/fixtures/peertube-plugin-test-id-pass-auth-three/main.js [new file with mode: 0644]
server/tests/fixtures/peertube-plugin-test-id-pass-auth-three/package.json [new file with mode: 0644]
server/tests/fixtures/peertube-plugin-test-id-pass-auth-two/main.js [new file with mode: 0644]
server/tests/fixtures/peertube-plugin-test-id-pass-auth-two/package.json [new file with mode: 0644]
server/tests/plugins/id-and-pass-auth.ts [new file with mode: 0644]
server/tests/plugins/index.ts
server/typings/express.ts
server/typings/plugins/register-server-option.model.ts
shared/extra-utils/users/login.ts
shared/models/plugins/register-server-auth.model.ts [new file with mode: 0644]