Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
Hi,
I'm creating an auth token using php with
$session->getAuthenticationToken($secret, $userId, $userName, $userRole);
In the roster and in the SimpleChat log I see the userID instead of the user name.
Is there a way to change that?
Thanks
Solved! Go to Solution.
The correct syntax is getAuthenticationToken($secret, $name, $userID, $userRole) :
/**
get an external authentication token
*/
function getAuthenticationToken($accountSecret, $name, $id, $role) {
View solution in original post
Views
Likes
Replies