I use next code:
        public Object onSubmitFromTestForm() 
          {             
              String testLink;
                testLink = 
AuthSubUtil.getRequestUrl("http://localhost:8080/Test";,
                                          
"http://www.google.com/calendar/feeds/";,
                                          true,true); //I use GData API
//"https://www.google.com/accounts/AuthSubRequest?session=0&secure=0&scope=http%3A%2F%2Fwww%2Egoogle%2Ecom%2Fcalendar%2Ffeeds%2F&next=http%3A%2F%2Flocalhost%3A8080%2FTest";;
                URL link = null;
                try {
                        link = new URL(testLink);
                } catch (IOException e) {
                        
                } finally {
                        
                }               
                return link;
          }

After GoogleAuth page opens, and redirected to my page
http://localhost:8080/Test (successfully logged) I need to read response
from AuthSubRequest. It looks like:
"http://localhost:8080/Test?token=CKF50YzIHxCT85KMAg";. I need to read
arguments. How I can do that?
-- 
View this message in context: 
http://www.nabble.com/Google-API%3AAuthSubRequest----Tapestry-tp17867013p18029374.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to