Skip to content

Commit 2c2e339

Browse files
authored
Merge pull request #3 from iGitK72/patch-1
Update typos for typ and IP address list
2 parents 455feb6 + 6de7fa5 commit 2c2e339

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Both header and payload are in JSON format.
2525
}
2626
```
2727

28-
- `typ`: The type of the token. Value must be "QFT1". Required.
28+
- `typ`: The type of the token. Value must be "QT1". Required.
2929
- `enc`: Payload encryption algorithm. Value must be "AES256". Required.
3030
- `iss`: NumericDate of when token was issued. Required.
3131
- `exp`: NumericDate of when token expires. Optional.
@@ -62,7 +62,7 @@ const token = Token
6262
.WithCustomData("size", "medium")
6363
.Generate())
6464
.WithEventId("demoevent")
65-
.WithIpAddress("75.86.129.4", "45.67.2.4,34.56.3.2")
65+
.WithIpAddress("75.86.129.4,45.67.2.4,34.56.3.2")
6666
.WithValidity(60000)
6767
.Generate(secretKey);
6868

0 commit comments

Comments
 (0)