Browse Source

Adds docs for token aud. Fixes jitsi/jitsi-meet#1871. Fixes #567.

dev1
damencho 8 years ago
parent
commit
0e5d57aae5
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      doc/tokens.md

+ 2
- 1
doc/tokens.md View File

17
 The following JWT claims are used in authentication token:
17
 The following JWT claims are used in authentication token:
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.  Alternately, a '*' may be provided, allowing access to all rooms within the domain.
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.  Alternately, a '*' may be provided, allowing access to all rooms within the domain.
20
-- 'exp' token expiration timstamp as defined in the RFC
20
+- 'exp' token expiration timestamp as defined in the RFC
21
 - 'sub' 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
 - 'sub' 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.
22
+- 'aud' application identifier. Star is supported (aud = '*') and can be used as default value.
22
 
23
 
23
 Secret is used to compute HMAC hash value and verify the token.
24
 Secret is used to compute HMAC hash value and verify the token.
24
 
25
 

Loading…
Cancel
Save