Thank you. That is what i was looking for. So far i came to know that the username is the unique way to identify the user connected in room and not the token. Client side is responsible for connecting token with username. Also once you call the N.API.deleteUser this deletes the user and token ? Right ? I need to regenrate token for authentication. Client can not use the same token. Am i right ? Please correct me.________________________________
From: Ignacio Aguadomailto:nachoaguadoc@gmail.com
Sent: 11/17/2015 5:16 PM
To: lynckiamailto:lynckia@googlegroups.com
Cc: azadsagar@hotmail.commailto:azadsagar@hotmail.com
Subject: Re: [lynckia] how to delete/disconnect user from room
In case you want to do it from the server side, you can call the function
N.API.deleteUser(room, user, callback, callbackError)
On Monday, November 16, 2015 at 8:56:48 PM UTC+1, Sagar Barai wrote:
anyone please ? i am new to licode. i am following tutors from this page
Redirecting…
N.API.createToken(roomId, name, role, function(token) {
console.log('Token created: ', token);
}, errorCallback);the above function creates token for authentication. how do i delete token
? If this feature is not implemented in licode please let me know.–
Sagar
From: azad...@hotmail.com <javascript:>
To: lyn...@googlegroups.com <javascript:>
Subject: [lynckia] how to delete/disconnect user from room
Date: Tue, 10 Nov 2015 20:45:42 +0530Hi,
How do i delete user token (disconnect a user from room). Also i would
like know where can i find list of all server side API functions.
Thank you–
Sagar–
You received this message because you are subscribed to the Google Groups
“lynckia” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lynckia+u...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/d/optout.
–
You received this message because you are subscribed to the Google Groups “lynckia” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lynckia+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.