public static string GetMuteForAllToken(string issuer, TimeSpan expiration, string fromUserUri, string userUri, string conferenceUri, string key) { CheckInitialized(); return(VivoxCoreInstance.vx_debug_generate_token(issuer, (int)expiration.TotalSeconds, "mute", serialNumber++, fromUserUri, userUri, conferenceUri, key)); }
public static string GetLoginToken(string issuer, TimeSpan expiration, string userUri, string key) { CheckInitialized(); return(VivoxCoreInstance.vx_debug_generate_token(issuer, (int)expiration.TotalSeconds, "login", serialNumber++, null, userUri, null, key)); }
public static string GetTranscriptionToken(string issuer, TimeSpan expiration, string userUri, string conferenceUri, string key) { return(VivoxCoreInstance.vx_debug_generate_token(issuer, SecondsSinceUnixEpochPlusDuration(expiration), "trxn", serialNumber++, null, userUri, conferenceUri, key)); }
public string GetLoginToken(string key, TimeSpan expiration) { return(VivoxCoreInstance.vx_debug_generate_token(Key.Issuer, (int)expiration.TotalSeconds, "login", Helper.serialNumber++, null, this.Key.ToString(), null, key)); }
public static string GetJoinToken(string issuer, TimeSpan expiration, string userUri, string conferenceUri, string key) { CheckInitialized(); return(VivoxCoreInstance.vx_debug_generate_token(issuer, SecondsSinceUnixEpochPlusDuration(expiration), "join", serialNumber++, null, userUri, conferenceUri, key)); }