Julian i have this error when I compile could you help me:
package com.google.gdata.data.appsforyourdomain.provisioning does not exist
import com.google.gdata.data.appsforyourdomain.provisioning.UserEntry;
^
package com.google.gdata.client does not exist
import com.google.gdata.client.*;
^
package com.google.gdata.client.appsforyourdomain does not exist
import com.google.gdata.client.appsforyourdomain.UserService;
^
package com.google.gdata.client.appsforyourdomain does not exist
import com.google.gdata.client.appsforyourdomain.AppsForYourDomainService;
^
cannot find symbol
symbol : class UserService
location: class SuperToken
UserService userService = new UserService("apps");
^
cannot find symbol
symbol : class UserService
location: class SuperToken
UserService userService = new UserService("apps");
^
6 errors
On Thu, Sep 11, 2008 at 3:38 AM, Julian (Google) <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> This code should help:
>
> import com.google.gdata.data.appsforyourdomain.provisioning.UserEntry;
> import com.google.gdata.client.*;
> import com.google.gdata.client.appsforyourdomain.UserService;
> import
> com.google.gdata.client.appsforyourdomain.AppsForYourDomainService;
>
> public class SuperToken {
> public static void main(String[] arg) throws Exception {
>
> UserService userService = new UserService("apps");
> String token = userService.getAuthToken("[EMAIL PROTECTED]",
> "Password, null, null, AppsForYourDomainService.APPS_SERVICE, "apps");
> System.out.println("Auth Token: " + token );
>
> }
> }
>
>
> Cheers,
> Julian
>
> On Sep 9, 10:14 pm, "Abraham Segura" <[EMAIL PROTECTED]> wrote:
> > Hi, group does anyone has a sample to get the Token, I try but I´m new in
> > Java and i can´t take the token, and i try the sample but i dont see
> anyone
> > to login and get Token like PHP.
> >
> > Regards
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Apps 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-apis?hl=en
-~----------~----~----~----~------~----~------~--~---