I am confused. Looking at the source code for ExecRequest, it is  
using a NULL value in the exchangeForSessionToken.

Frank Mantek
Google
On Oct 23, 2007, at 8:47 PM, Steven wrote:

>
> I am having trouble exchanging a one-time use token for a session
> token.
>
> The first step in the process works great, I can get a one-time use
> token and I have verified that in my call to getRequestUrl I am
> requesting a token that can be exchanged for a session token.
>
> The problem occurs when I make the call to exchangeForSessionToken.
> The documentation states that a value of null should be sent as the
> "key" when using unregistered mode (which I am).  Unfortunately
> exchangeForSessionToken will not take null (or System.dbnull) and
> wants a type System.Security.Cryptography.AsymmetricAlgorithm.
>
> I've tried a few thing like creating an empty key, etc but no matter
> what I try I get a "(401) Unauthorized" when I make the call.
>
> Any suggestions would be appreciated.
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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