]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/typings/express.ts
Support logout and add id and pass tests
[github/Chocobozzz/PeerTube.git] / server / typings / express.ts
index ebccf7f7da933e5787e581b4b34c8dc693a113fa..2d12a486a6a895c08ad749343ac7df8c661b3f08 100644 (file)
@@ -37,6 +37,7 @@ declare module 'express' {
       bypassLogin?: {
         bypass: boolean
         pluginName: string
+        authName?: string
         user: {
           username: string
           email: string
@@ -45,6 +46,8 @@ declare module 'express' {
         }
       }
 
+      explicitLogout: boolean
+
       videoAll?: MVideoFullLight
       onlyImmutableVideo?: MVideoImmutable
       onlyVideo?: MVideoThumbnail