Skip to content

Commit

Permalink
small readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
andretietz committed Sep 12, 2018
1 parent 22c34ce commit 7a4a2dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion retroauth-android/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Field-Count: 77
If you call a request method, annotated with the authenticated annotation, it'll do the following steps:
* Step 1: Checks if there already is an account in the Android AccountManager. If not, it'll open a LoginActivity (you choose which). If there already is an account, go on with step 2, If there's more than one account open an Dialog to pick an account.
* Step 2: Tries to get the authentication token from the (choosen) account for authorizing the request. If there is no valid token, your LoginActivity will open. After login go to Step 1.
* Step 3: Sends the actual request
* Step 3: If no Login was required (token exists already), it sends the actual request.
* Step 4: By implementing a Authenticator you can check the response (i.e. a 401 you will be able to refresh the token) and decide if you want to retry the request or not.

## How to use it?
Expand Down

0 comments on commit 7a4a2dc

Please sign in to comment.