On Tue, Jun 16, 2009 at 7:57 AM, Ashok Kumar <ashok.aarud...@gmail.com>wrote:

>
> Hi Eric,
>
> Fine and thanks for your reply.
>
> I am a new one for this and I need to know regarding the Spreadsheet.
>
> i) My spreadsheet is a public one and i have shared it so that any
> user can edit/view my spreadsheet.
> In this scenario is there the Grant Access Permission needed?
>

Ah I see.  I don't believe the same 'world readable/editable'
functionality is built into the API.  The Spreadsheets embed/UI uses
different authentication than the API.  This feature was introduced
after the API, so I could be wrong.


>
> ii) Can i able to get the 
> username(eg:abc....@gmail.com<eg%3aabc....@gmail.com>)
> of the logged
> in user in my application? so that i can keep the username as id and
> save details of those using this id as primary key.
>

Not with AuthSub/OAuth.  In a sense, the token is anonymized.
The OpenID API allows you to pull the authenticated users
email: http://code.google.com/apis/accounts/docs/OpenID.html


>
> Please advice.
>
> Thank you in Advance.
>
> On Jun 13, 2:25 am, "Eric (Google)" <api.e...@google.com> wrote:
> > No.  Circumventing the 'grant access' step
> > defeats the whole purpose of AuthSub.  It's left
> > to the user to decide if he/she shares
> > their data.
> >
> > Eric
> >
> > On Jun 12, 4:36 am, Ashok Kumar <ashok.aarud...@gmail.com> wrote:
> >
> > > Hi Eric,
> >
> > > Thanks for your reply.
> >
> > > I am using AuthSub Tokens. Ya you are correct if we have session token
> > > then it is not necessary to move back to the approval page. But before
> > > getting the session token is it possible for me to approve
> > > automatically on considering my 'Remember this approval option' for my
> > > website and return back with out pressing the Access Approve button.
> >
> > > Thank you.
> >
> > > On Jun 10, 4:07 am, "Eric (Google)" <api.e...@google.com> wrote:
> >
> > > > Is this for OpendID or OAuth/AuthSub?
> >
> > > > With the last two, if you have the session token
> > > > then you don't need to send users back to the approval
> > > > page.  OAuth and AuthSub tokens are long lived and never
> > > > expire (unless explicitly) revoked.
> >
> > > > Eric
> >
> > > > On Jun 8, 12:54 am, Ashok Kumar <ashok.aarud...@gmail.com> wrote:
> >
> > > > > Hi all,
> >
> > > > > I have created a sample that request data from my spreadsheet that
> I
> > > > > have created with my Google account. When my application starts it
> > > > > will check whether the user has signed in. If else the user did not
> > > > > sign in, the user will be redirected to the log in page of Google
> and
> > > > > there the user signs in. After signing in Google Access Request
> Page
> > > > > is displayed. Here is what it is prompting to Grant Access
> specifying
> > > > > that a third party site is requesting the service so Grant or Deny
> > > > > Access. Now coming to the point that i do not want this interface
> to
> > > > > be shown to the user instead the user must be redirected directly
> to
> > > > > my page without prompting the user to Grant Access to the specified
> > > > > site. I have surfed a lot and it is specified that checking the
> > > > > 'Remember this approval option' for the particular site will not
> > > > > prompt user the again and again Grant Access. But unfortunately i
> > > > > could not trace it out where the option is in my account. So please
> > > > > help me to solve this issue ASAP.
> >
> > > > > Thank you,
> > > > > Ashok Kumar A.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" group.
To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com
To unsubscribe from this group, send email to 
google-docs-data-apis+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to