I have an Android app which communicates via channel and REST with the GAE server. Can I use the channel token as general access token like this:
- client provides credentials to servlet
- servlet creates channel and provides token
- client does REST calls providing channel token as access token
- other communication via channel
For 3 I would like to stay session free. So I would need to decrypt the client ID from the channel token. The client ID is probably encrypted into the token but I did not find any API call to extract it.
Is there any other API available to get the client ID for a channel token?
Otherwise I would need to maintain a mapping of channel token and client ID which reduces the value of the token. Would the memcache be the appropriate mechanism to maintain this mapping?
thx