Thanks  a lot  ryan...I have another question...Is there a way i can do
authentication in web applications by just passing the username and
password in the code witout using the login page that google provides?
I hope this is not a very silly question..But i am very new to the
google calendar api...Thanks again...



Ryan Boyd (Google) wrote:
> Hi Gcal Programmer,
>
> As you may be aware, there are two methods of authentication:
> a) ClientLogin (for desktop apps - which you directly send the
> username/passwords)
> b) AuthSub (for web apps which is what you are currently using)
>
> The .NET client library (if you're using it) has some classes for the
> AuthSub functionality, but these aren't yet tested.  See the thread
> below:
> http://groups.google.com/group/google-calendar-help-dataapi/browse_frm/thread/7a8e019fa8a6dc18/a737fbf7e3ffd1c3?lnk=gst&q=AuthSub+C%3&rnum=1
>
> I'm actually working on coming up with some sample code which does
> this, but don't yet have it complete.
>
> At a lower level, what you are trying to do is grab the URL parameter
> called 'token' and exchange this for an AuthSub session token using the
> AuthSubSession token service
> (http://code.google.com/apis/accounts/AuthForWebApps.html#AuthSubSessionToken).
>  You then use this AuthSub session token and create an "Authorization:
> AuthSub token='<tokenvalue>'" header and add it to your future
> requests.
> 
> Cheers,
> 
> -Ryan


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" 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/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to