Generate a token on the client
There are two ways to handle token generation for the Vivox SDK:
- Use the Unity Authentication package, refer to Authentication-based token generation.
- Create an implementation of IVivoxTokenProvider and use VivoxService.Instance.SetTokenProvider to register it with the Vivox SDK. Refer to IVivoxTokenProvider implementation.
Note: If you are using the Vivox Developer Portal credentials, there is also an option to create tokens locally. Local tokens should only be used for testing purposes.