How to pass Token to play a protected video in a Player

Hi, i’m having some problems to acces manifest from a protected tokenized stream.

Here is my code:

The problem is I don’t know how to pass correctly the token. I can acces correctly to the stream in Dashboard. Thank you.