Agdroid 251

Of very important note I have added a "wasAuthorized" method to the authz module.  I honestly don't know if it is needed or if isAuthorized should have it's behavior changed.
I think the whole idea of fluid refresh is to act on any CRUD action.
For ios we do retry on any action.
So you can renew refresh access token whether you do an update or a read.


On 17 June 2014 18:11, Hoyt Summers Pittman <notifications@github.com>
wrote:

> In src/org/jboss/aerogear/android/impl/pipeline/RestRunner.java:
>
> > @@ -423,7 +427,7 @@ private HeaderAndBody runHttpGet(HttpProvider httpProvider) {
> >              httpResponse = httpProvider.get();
> >          } catch (HttpException exception) {
> >              if ((exception.getStatusCode() == HttpStatus.SC_UNAUTHORIZED
> > -                    || exception.getStatusCode() == HttpStatus.SC_FORBIDDEN) && retryAuth(authModule)) {
> > +                    || exception.getStatusCode() == HttpStatus.SC_FORBIDDEN) && (retryAuth(authModule) || retryAuthz(authzModule))) {
>
> Correct. I don't feel terribly comfortable retrying PUT, POST, and DELETE
> because they change data on the server.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/aerogear/aerogear-android/pull/149/files#r13868755>.
>