Hi Pedro,

The Provisioning API supports 3-legged OAuth for authentication but at the
moment I don't have a sample Java code to show you.
We recently wrote an article on how to use the Provisioning API with OAuth
(both 3LO and 2LO), however the code sample is in Python:

http://code.google.com/googleapps/domain/articles/provisioningoauth.html

Hope it helps

Claudio

On Sun, May 1, 2011 at 1:09 PM, Pedro Ferreira <[email protected]> wrote:

> Hi there,
>
> I'd like to know if it's possible to use User Provisioning API through
> 3-legged Auth.
>
> My problem is:
>
> I usually use the AppsForYourDomainClient class to access this API, like
> below:
>
> AppsForYourDomainClient upclient = new
> AppsForYourDomainClient(str_admin_user,str_admin_password, str_domain);
>
> But I would like to use a 3-legged OAuth token to use the API (my
> application redirects to google login page, and after logged, user gets back
> to application. Therefore, my app doesn't have user password.
>
> Thanks,
>
> Pedro
>
> --
> 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
> [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-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 [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-apps-mgmt-apis?hl=en.

Reply via email to