> Hi,
> I need help to use Provisioning API with OAuth authentication, the
> following problem occurs, how to do domain validation in java api ? In
> Python it is possible to know the following code.
>
>   service = gdata.apps.service.AppsService(domain=consumer_key)
> *->*service.SetOAuthInputParameters(sig_method, consumer_key,
> consumer_secret=consumer_secret, two_legged_oauth=True)
>
> res = service.RetrieveAllUsers()
> for entry in res.entry:
>     print 'email;' + string.lower(entry.login.user_name) + '@' +
> consumer_key
>
> the emphasis on the coding can be seen that there is validation for key
> parametersusing OAuth authentication as CONSUMER_KEY and CONSUMER_SECRET,
> but inJava this is not possible ..
> As shown below:
>
> AppsForYourDomainClient client = new AppsForYourDomainClient (adminEmail,
> adminPassword, domain); //JavaCode Api - AppsForYourDomain
>
> how can I get something close to in java:
>
> AppsForYourDomainClient client = null; //
> client.SetOAuthInputParameters(sig_method, consumer_key, consumer_secret);
> //this method does not exist today in the api java
>
>
>
> Thanks...
>
>
> --
> *Felipe Teixeira*
> *Desenvolvedor Java
> *
> IPNET Soluções
> Tel.: 55 21 3553 2717 / 21-7805-6867
> Rua Visconde de Inhaúma, 134, Sala 615
> Centro - RJ - CEP: 20091-007
> *http://www.ipnetsolucoes.com.br** *
>
> *
> *
>
>

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

Reply via email to