Make it possible to set the tokens on audience (participant) creation.
This commit makes it possible to set the login token for new participants in an authenticated audience as well as setting the join token for new anonymous audiences. Besides these changes, a 'Generate' button for tokens was added to the edit audience modal for anonymous audiences and the edit participant modal for authenticated audiences.
The new 'Generate' button uses a generation algorithm that is close to the one the TokenGenerationService
in Java uses.
This MR also removes the 'Reset token' modal and functionality from anonymous audiences, as this can now be quickly done from the 'Edit audience' modal. Furthermore, the 'Reset token' modal used a HTTP GET request to reset the token, which is not recommended anyway. Since there was no need for it anymore, it has been removed.
When this MR is merged, we effectively fixed #29 (closed), while also adding the functionality described in this issue for anonymous audiences.