Package io.ably.lib.rest
Interface Auth.RenewAuthResult
- Enclosing class:
- Auth
public static interface Auth.RenewAuthResult
An interface providing completion callbackk for renewAuth
-
Method Summary
Modifier and TypeMethodDescriptionvoidonCompletion(boolean success, Auth.TokenDetails tokenDetails, ErrorInfo errorInfo) Signals completion ofAuth.renewAuth(RenewAuthResult)
-
Method Details
-
onCompletion
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.
-