Forum

Results 1 to 6 of 6
  1. #1
    Join Date
    December 2012
    Location
    Paris, France
    Posts
    185

    Token vs privilege key

    Hi!

    Currently i work on python3 query interface and i don't understand a thing.

    What's the difference between Token* and PrivilegeKey* commands? Token commands are deprecated or something like that?

    In the documentation (pdf into server directory) we got this explanation for tokenadd/privilegekeyadd:
    PRIVILEGEKEYADD
    Create a new token. If tokentype is set to 0, the ID specified with tokenid1 will be a server group ID. Otherwise,
    tokenid1 is used as a channel group ID and you need to provide a valid channel ID using tokenid2.
    The tokencustomset parameter allows you to specify a set of custom client properties. This feature can be used
    when generating tokens to combine a website account database with a TeamSpeak user. The syntax of the
    value needs to be escaped using the ServerQuery escape patterns and has to follow the general syntax of:
    ident=ident1 value=value1|ident=ident2 value=value2|ident=ident3 value=value3


    Permissions:
    b_virtualserver_token_add
    Syntax:
    privilegekeyadd tokentype={1|0} tokenid1={groupID} tokenid2={channelID}
    [tokendescription={description}] [tokencustomset={customFieldSet}]

    Example:
    tokenadd tokentype=0 tokenid1=6 tokenid2=0 tokendescription=Test\stoken\swith\scustom\sset
    tokencustomset=ident=forum_user\svalue=Sven\sPauls en\pident=forum_id\svalue=123
    token=eKnFZQ9EK7G7Mh
    The syntax specifie privilegekeyadd but the example specifie tokenadd...

    Why we got these two way for the same thing?

    Thank you for your clarification.

  2. #2
    Join Date
    December 2004
    Location
    RF
    Posts
    3,006
    It's a question of terminology, I guess. "token" is too generic of a word and doesn't really describe the meaning of it's function.

  3. #3
    Join Date
    June 2008
    Posts
    18,151
    There is no difference between a token and our privilege key.
    It's used to identify and gain access to a group and can be used once only.

    Quote Originally Posted by ANR Daemon View Post
    I guess. "token" is too generic of a word and doesn't really describe the meaning of it's function.
    Exactly. Only technical advanced users understand the meaning of a token.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  4. #4
    Join Date
    December 2012
    Location
    Paris, France
    Posts
    185
    I have read the chanlog and found this line for the server v3.0.0-b29
    ! token functions renamed to privilegekey (privilegekeyadd, privilegekeydelete, privilegekeyuse, privilegekeylist)
    old function names are still working but will be removed.
    You've planned the withdrawal of the functions or you intend to keep them?

  5. #5
    Join Date
    June 2008
    Posts
    18,151
    It was a beta release and opinions can change ;D
    Nothing is planned with token and privilegekey commands. Both stay valid.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  6. #6
    Join Date
    December 2004
    Location
    RF
    Posts
    3,006
    Quote Originally Posted by Toine View Post
    I have read the chanlog and found this line for the server v3.0.0-b29


    You've planned the withdrawal of the functions or you intend to keep them?
    The _functions_ will not be withdrawn as they are the cornerstone of the TS3 security system.
    The commands (rather, an old forms of commands) can be deprecated/removed, but it seems, they decided to keep both.
    Should probably correct the documentation for a better clarification.
    Replace the description of token* commands with
    token* is an alias for privilegekey*.
    I've tried to attach fixed documentation to the post, but it seems the forums are still not so healthy.

    I've also spotted a typo in the "privilegekeyuse" description, it mentions a "token key" instead of "privilege key", and lack "to" part to address the next word.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Lost Server Admin / Need new privilege key/Token
    By Cockatiel in forum Server Support
    Replies: 3
    Last Post: July 11th, 2011, 02:05 PM
  2. Privilege Key/Token Key Not Working!!
    By knownchild in forum General Questions
    Replies: 3
    Last Post: June 22nd, 2010, 08:51 AM
  3. Token- Privilege.
    By Fatality1 in forum Windows
    Replies: 2
    Last Post: June 15th, 2010, 01:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •