Hi Renaud,
If I understood your queston, yes you got it right. The first bullet point
means that one of the possible senders can be the user who's currently
Authenticated (via OAuth), or any of the other email that are mentioned
afterwards.
Cheers!
On Monday, December 7, 2015 at 4:39:06 PM UTC-5, Renaud Tarnec wrote:
>
> Hi,
>
> I am using Endpoints in a JavaScript Client, with authentication via OAuth
> 2.0. In other words I have added a parameter of type User to each class
> method which require authorization, e.g.:
>
> @ApiMethod(name = "scores.insert")
> public Score insert(Score score, User user) throws OAuthRequestException,
> IOException {
> ...
> }
>
>
> In one of my method I send a mail with the java API. This works fine with
> the sender address of the message being listed in the Cloud Platform
> Console under Email API Authorized Senders (see
> https://cloud.google.com/appengine/docs/java/mail/)
>
> However the documentation says that:
>
> "For security purposes, the sender address of a message must be one of
> the following:
>
> - The Gmail or Google Apps Account of the user who is currently signed
> in
> - Any email address of the form [email protected] or
> [email protected]
> - Any email address listed in the Cloud Platform Console under Email
> API Authorized Senders"
> <https://console.cloud.google.com/project/_/appengine/settings>
>
>
> What exactly does mean the FIRST bullet point: is it the gmail account of
> the end-user who is logged via OAuth? i.e. the user that is passed as a
> parameter to the method?
>
> Thanks in advance!
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/97e791db-3f04-426d-a298-1ab2b33fb51a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.