T - User identify type in your account systempublic interface YfyRefreshListener<T>
| Modifier and Type | Method and Description |
|---|---|
void |
onTokenRefreshed(T key,
String accessToken,
String refreshToken,
long expireIn)
This method will be invoked when one's access token refreshed automatically
|
void onTokenRefreshed(T key, String accessToken, String refreshToken, long expireIn)
key - User identify who's access token is refreshed automaticallyaccessToken - The User's new access token after refreshed(It will not be changed normally)expireIn - Expire time which access token is valid in this timeCopyright © 2018 YiFangYun. All rights reserved.