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.
Views
Replies
Total Likes
The correct syntax is getAuthenticationToken($secret, $name, $userID, $userRole) :
/**
get an external authentication token
*/
function getAuthenticationToken($accountSecret, $name, $id, $role) {
Views
Replies
Total Likes
The correct syntax is getAuthenticationToken($secret, $name, $userID, $userRole) :
/**
get an external authentication token
*/
function getAuthenticationToken($accountSecret, $name, $id, $role) {
Views
Replies
Total Likes
Thanks
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies