You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Ja...@gmail.com on 2009/07/09 12:32:32 UTC
Implements anonymous viewer in PHP Shindig
Reviewers: chabotc, shindig.remailer_gmail.com,
Description:
for an anonymous viewer, Shindig people API will response a Person
object with:
id = -1
isOwner = $token->isAnonymous() ? true : false
isViewer = $token->isAnonymous() ? true : false
name = anonymous_user
displayName = Guest.
Please review this at http://codereview.appspot.com/91091
Affected files:
php/src/common/SecurityToken.php
php/src/common/sample/BasicSecurityToken.php
php/src/social/sample/JsonDbOpensocialService.php
php/src/social/servlet/ApiServlet.php
php/test/common/BasicSecurityTokenTest.php