Skip to content

Commit bb877db

Browse files
author
Aidan Laing
committed
Read Me RxJava2
1 parent 05e1cd4 commit bb877db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,3 +162,7 @@ client?.deleteToken(object: MobileAuthenticationClient.DeleteCallback {
162162
}
163163
})
164164
```
165+
166+
### RxJava2
167+
If you are using RxJava2 you can use `getTokenAsObservable()`, `refreshTokenAsObservable()` and `deleteTokenAsObservable()` in replace of the TokenCallback and DeleteCallback.
168+
Note that TokenNotFoundException in getToken will be replaced with NoSuchElementException when using getTokenAsObservable.

0 commit comments

Comments
 (0)