diff options
author | Alex Ning <chineseperson5@gmail.com> | 2018-10-14 03:24:38 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2018-10-14 03:24:38 +0000 |
commit | 4d0a0725c93f84e3282b16554a950fbf83813d43 (patch) | |
tree | 2e346b3cd164602f7265e12dcc6b711021fc5ce4 /gradle/wrapper | |
parent | 8b52810d7c2bd0ee953fa69eae10ee71cdb53603 (diff) | |
download | infinity-for-reddit-4d0a0725c93f84e3282b16554a950fbf83813d43.tar infinity-for-reddit-4d0a0725c93f84e3282b16554a950fbf83813d43.tar.gz infinity-for-reddit-4d0a0725c93f84e3282b16554a950fbf83813d43.tar.bz2 infinity-for-reddit-4d0a0725c93f84e3282b16554a950fbf83813d43.tar.lz infinity-for-reddit-4d0a0725c93f84e3282b16554a950fbf83813d43.tar.xz infinity-for-reddit-4d0a0725c93f84e3282b16554a950fbf83813d43.tar.zst infinity-for-reddit-4d0a0725c93f84e3282b16554a950fbf83813d43.zip |
Use OkHttp3 Authenticator instead of OkHttp Interceptor to handle the case when the request fails with code 401. Refresh the access token in a synchronized block to avoid getting more than one access tokens and getting duplicate posts when performing multiple unauthorized requests. Minor bugs fixed.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions