Hello Abhay

Currently there is no way that you can make the Google servers poll you
back when there is a creation/edition/deletion of a user. So only thing you
can do is to check in timely fashion to see if any action was taken.

Other query's answer:
1. The best way is to authenticate is using OAuth.
2. No you don't need to ask for credentials for each operation. Once you
get a auth token you can use it for multiple operations. It will be
required only if you rerun the script.

Thanks
Gunjan Sharma |  Developer Programs Engineer | gunjansha...@google.com |  +91
7702534446



On Fri, Dec 9, 2011 at 7:05 AM, Abhay <abhay.kulka...@deskera.com> wrote:

> Hi,
>
> I am new to using Google Apps APIs and wish to implement provisioing
> between Google Apps domain and my web application with JAVA.
>
> My thinking is that when a Google app domain admin signups for my app and
> chooses to use his/her Google Apps domain with my app, a user sync will
> take place. Everytime a user is created/edited/deleted, it must happen at
> both ends.
>
> I am clear with how this can be done from my app to Google Apps domain,
> but have not understood how this can be achieved the other way.
> Also, I have some queries:
>
>    1. Authentication. Which is the best way (if in future i have to opt
>    for OpenID SSO)?
>    2. Do i have to repeatedly ask for GApps Domain admin credentials if i
>    am not using OAuth, for each operation?
>
> Thanks in advance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Apps Domain Information and Management APIs" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-apps-mgmt-apis/-/HxnOKCcosvoJ.
> To post to this group, send email to
> google-apps-mgmt-apis@googlegroups.com.
> To unsubscribe from this group, send email to
> google-apps-mgmt-apis+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-apps-mgmt-apis?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Apps Domain Information and Management APIs" group.
To post to this group, send email to google-apps-mgmt-apis@googlegroups.com.
To unsubscribe from this group, send email to 
google-apps-mgmt-apis+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

Reply via email to