Package io.ably.lib.rest
Interface Auth.RenewAuthResult
-
- Enclosing class:
- Auth
public static interface Auth.RenewAuthResultAn interface providing completion callbackk for renewAuth
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonCompletion(boolean success, Auth.TokenDetails tokenDetails, ErrorInfo errorInfo)Signals completion ofAuth.renewAuth(RenewAuthResult)
-
-
-
Method Detail
-
onCompletion
void onCompletion(boolean success, Auth.TokenDetails tokenDetails, ErrorInfo errorInfo)Signals completion ofAuth.renewAuth(RenewAuthResult)- Parameters:
success- if token renewal was successful. Please note that success for this operation means that other operations relating to this also succeeded.tokenDetails- New token details. Please note that this value can exist regardless of value of success state.errorInfo- Error details if operation is completed with error.
-
-