Skip to content

Commit 324377e

Browse files
docs: fix typo
1 parent 73ad5cb commit 324377e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

streamerbot/3.api/4.websocket/0.guide/4.authentication.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ const client = new StreamerbotClient({
3636
You only need to do this if you are building your own client, or using another language.
3737
::
3838

39+
::steps{level=3}
3940
### Hello Request
4041
When connecting to Streamer.bot's WebSocket Server, you will receive a `Hello` message, detailed below.
4142

@@ -65,7 +66,7 @@ This message always contains an `info` object with information about the instanc
6566
}
6667
```
6768

68-
### Autenthicate Request
69+
### Authenticate Request
6970

7071
Using the `salt` and `challenge` provided in the `Hello` request, you will need to generate an authentication string and send an `Authenticate` request back to Streamer.bot.
7172

@@ -85,6 +86,7 @@ You will need to send the above request back to Streamer.bot in order to authent
8586
3. Concatenate the `base64` secret with the challenge sent by the server `(base64_secret + challenge)`
8687
4. Generate a binary `SHA256` hash of that result and `base64` encode it.
8788
5. The resulting string is what you will use for authentication.
89+
::
8890

8991
### Example in JavaScript
9092

0 commit comments

Comments
 (0)