Hi Rajeev,

Since it sounds like you're running code on a server, you'll want to
authenticate the user using either AuthSub or OAuth.  After the user
is authenticated using one of these methods, you'll have an access
token (the "session token" for AuthSub) that can be used until the
user chooses to invalid it.  Store the access token on your sever,
securely, and re-use it whenever you want to access the user's
profile.

The following page has information on choosing the appropriate
authentication method:

http://code.google.com/apis/health/docs/2.0/developers_guide_protocol.html#Authenticating

I hope this helps!

Paul (Google)


On Nov 22, 2:35 am, Rajeev Roy <[email protected]> wrote:
> Hi ,
>
> I read google health doc for synchronize. but I have query that how do
> I sync it afterward when user is not logged in.
>
> Once user will login. I got authentication but how I get data to
> synchronize when user is not logged in.
> I need to code for this is cron job.
> hope you understand I need urgent help. Please help.
>
> Thanks,
> Rajeev Roy

-- 
You received this message because you are subscribed to the Google Groups 
"Google Health Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/googlehealthdevelopers?hl=en.

Reply via email to