Authentication token generation WIP (#98)
You can now generate links to join chatrooms with your current user. This can be used to create Docks in OBS for example. This could also be used to generate authentication token to join the chat from 3rd party tools.
This commit is contained in:
@ -166,6 +166,22 @@ interface ChannelEmojisConfiguration {
|
||||
emojis: ChannelEmojis
|
||||
}
|
||||
|
||||
interface ProsodyAuthentInfos {
|
||||
type: 'peertube' | 'oidc' | 'livechat-token'
|
||||
jid: string
|
||||
password: string
|
||||
nickname?: string
|
||||
}
|
||||
|
||||
interface LivechatToken {
|
||||
id: number
|
||||
label: string
|
||||
jid: string
|
||||
password: string
|
||||
nickname?: string
|
||||
date: number
|
||||
}
|
||||
|
||||
export type {
|
||||
ConverseJSTheme,
|
||||
InitConverseJSParams,
|
||||
@ -184,5 +200,7 @@ export type {
|
||||
ExternalAuthOIDCType,
|
||||
CustomEmojiDefinition,
|
||||
ChannelEmojis,
|
||||
ChannelEmojisConfiguration
|
||||
ChannelEmojisConfiguration,
|
||||
ProsodyAuthentInfos,
|
||||
LivechatToken
|
||||
}
|
||||
|
Reference in New Issue
Block a user