feat(rn,auth) add support for toekn URL auth

This commit is contained in:
Saúl Ibarra Corretgé
2023-08-15 11:46:45 +02:00
committed by Saúl Ibarra Corretgé
parent c19d91a373
commit dca40dc6cb
9 changed files with 130 additions and 53 deletions

View File

@@ -27,7 +27,7 @@ export const isTokenAuthEnabled = (config: IConfig) =>
* <tt>undefined</tt> if the pattern stored in config is not a string and the URL can not be
* constructed.
*/
export const getTokenAuthUrl = (config: IConfig, roomName: string) => {
export const getTokenAuthUrl = (config: IConfig, roomName: string | undefined) => {
const url = config.tokenAuthUrl;