Debug access token implementations
The included Python module vivox\_admin.py
provides the following capabilities that are useful for debugging access token implementations:
- Login Token Generation - given an issuer, key, token time to live, and user URI, print out a token that allows a user to sign in.
- Join Token Generation - given an issuer, key, token time to live, user URI, and channel URI, print out a token that allows a user to join a channel.
- Join Muted Token Generation - given an issuer, key, token time to live, user URI, and channel URI, print out a token that allows a user to join a channel in a muted state.
- Kick Token Generation - given an issuer, key, token time to live, user URI, subject (target) URI, and channel URI, print out a token that allows one user to kick another user from a channel.
- Mute Token Generation - given an issuer, key, token time to live, user URI, subject (target) URI, and channel URI, print out a token that allows one user to mute or unmute another user in a channel.
- Token Revocation - given an token, "revoke" it (which prevents it from being used again). Use this to validate a token.
To get a list of the specific commands that you can use to perform any of these operations, use the following module:
python vivox_admin.py help