Browse Source

Adds doc about aud field.

dev1
Дамян Минков 8 years ago
parent
commit
7c6ad185eb
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      doc/tokens.md

+ 1
- 0
doc/tokens.md View File

@@ -18,6 +18,7 @@ The following JWT claims are used in authentication token:
18 18
 - 'iss' specifies *application ID* which identifies the client app connecting to the server
19 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 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 23
 Secret is used to compute HMAC hash value and verify the token.
23 24
 

Loading…
Cancel
Save