Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How often does the authentication token changes?

Avatar

Avatar
Validate 1
Level 1
scharles415
Level 1

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
scharles415
Level 1

Likes

0 likes

Total Posts

33 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
scharles415
Level 1

14-03-2011

We are using the php library to create authentication token.  We have 20 different rooms but we use one developer/LCCS account. For weeks every time we get the authentication toke from php code, it is the same. Recently it changed. I could not find any documentation on this. Shouldn't I get a different authentication token every time I call the getAuthenticationToken() method? Why do I keep on getting same token for the same room?

  $am = new RTCAccount($accountURL);

      $am->login($devuser, $devpass);

      $session = $am->getSession($room);

      $role = 100;

    $token = $session->getAuthenticationToken($secret, $user, $user, $role);

I am thinking that I need to disconnect the session or something but I can not find any documentation on this.

View Entire Topic

Avatar

Avatar
Boost 5
Level 2
nzezelj
Level 2

Likes

14 likes

Total Posts

82 posts

Correct Reply

6 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Applaud 5
View profile

Avatar
Boost 5
Level 2
nzezelj
Level 2

Likes

14 likes

Total Posts

82 posts

Correct Reply

6 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Applaud 5
View profile
nzezelj
Level 2

14-03-2011

A bit of documentation on the subject can be found at http://learn.adobe.com/wiki/display/lccs/6.4+Authentication+setup

Yes, your authentication token will always be the same for a particular secret/user/userID/role combo with the same session and the same room.  In order to get a different token for such a combo you would need to get a new session.  But this is intended behaviour.  Do you have a particular worry about token not changing with every getAuthenticationToken() call?

Thanks,

Nikola