blob: 34fec1bb35e07a9e2cc4547f88d5aecf85889da3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
async function register ({
registerExternalAuth,
peertubeHelpers
}) {
{
const result = registerExternalAuth({
authName: 'external-auth-3',
authDisplayName: 'External Auth 3',
onAuthRequest: (req, res) => {
result.userAuthenticated({
req,
res,
username: 'cid',
email: 'cid@example.com',
displayName: 'Cid Marquez'
})
}
})
}
}
async function unregister () {
return
}
module.exports = {
register,
unregister
}
// ###########################################################################
|