Skip to content
Snippets Groups Projects
Commit 3f7da4dd authored by RMidhunSuresh's avatar RMidhunSuresh
Browse files

Add token to config/config-type

parent 6ce3e1fa
No related branches found
No related tags found
No related merge requests found
...@@ -5,5 +5,6 @@ ...@@ -5,5 +5,6 @@
"header": { "header": {
"title": "Chatterbox Test Room", "title": "Chatterbox Test Room",
"avatar": "https://i.picsum.photos/id/907/200/200.jpg?hmac=SdeLZNONJ3CX-OB15hSXsCheWDC6yYac5N5VUJM7FIQ" "avatar": "https://i.picsum.photos/id/907/200/200.jpg?hmac=SdeLZNONJ3CX-OB15hSXsCheWDC6yYac5N5VUJM7FIQ"
} },
"token": "k9SL1R~GcdbjiFjC"
} }
...@@ -6,6 +6,8 @@ export interface IChatterboxConfig { ...@@ -6,6 +6,8 @@ export interface IChatterboxConfig {
username_prefix: string; username_prefix: string;
// Configurations for header on chatterbox (containing title, avatar, minimize button) // Configurations for header on chatterbox (containing title, avatar, minimize button)
header: IHeader; header: IHeader;
// Token needed for token-authenticated registration
token: string;
} }
interface IHeader { interface IHeader {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment