瀏覽代碼

Adds doc about aud field.

dev1
Дамян Минков 8 年之前
父節點
當前提交
7c6ad185eb
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      doc/tokens.md

+ 1
- 0
doc/tokens.md 查看文件

18
 - 'iss' specifies *application ID* which identifies the client app connecting to the server
18
 - 'iss' specifies *application ID* which identifies the client app connecting to the server
19
 - 'room' contains the name of the room for which the token has been allocated. This is *NOT* full MUC room address. Example assuming that we have full MUC 'conference1@muc.server.net' then 'conference1' should be used here.
19
 - 'room' contains the name of the room for which the token has been allocated. This is *NOT* full MUC room address. Example assuming that we have full MUC 'conference1@muc.server.net' then 'conference1' should be used here.
20
 - 'exp' token expiration timstamp as defined in the RFC
20
 - 'exp' token expiration timstamp as defined in the RFC
21
+- 'aud' contains the name of the domain used when authenticating with this token. By default assuming that we have full MUC 'conference1@muc.server.net' then 'server.net' should be used here.
21
 
22
 
22
 Secret is used to compute HMAC hash value and verify the token.
23
 Secret is used to compute HMAC hash value and verify the token.
23
 
24
 

Loading…
取消
儲存