liferay / liferay-mobile-sdk

Other
47 stars 56 forks source link

Cookie authentication #27

Closed javiergamarra closed 8 years ago

javiergamarra commented 8 years ago

Ok, let's see...

I need two new methods in request to expose follow redirects (to get the auth token for XSS) and media type (to send the login information in the body).

The SignIn method is a bit convoluted... we talked about moving that login to the CookieAuthentication class but it isn't easy because of the asynchronous nature of getting the cookie and token.