Просмотр исходного кода

feat(docs): Add a note that token context doesn't accept number or null

release-8443
Do Le Bao Nguyen 4 лет назад
Родитель
Сommit
d28659f730
1 измененных файлов: 1 добавлений и 0 удалений
  1. 1
    0
      doc/tokens.md

+ 1
- 0
doc/tokens.md Просмотреть файл

@@ -34,6 +34,7 @@ In addition to the basic claims used in authentication, the token can also provi
34 34
   - 'name' is the display name of the user
35 35
   - 'email' is the email of the user
36 36
   - 'avatar' is the URL of the avatar for the user
37
+> Note: As the moment all fields in 'user' need to be a valid string, numeric types or `null` will generate an exception.
37 38
 - 'callee' is an optional object containing display information when launching a 1-1 video call with a single other participant.  It used to display an overlay to the first user, before the second user joins.
38 39
   - 'id' is a user identifier string.  Intended for use in reporting/analytics
39 40
   - 'name' is the display name of the 'callee' user

Загрузка…
Отмена
Сохранить