Package io.ably.lib.rest

Interface Auth.RenewAuthResult

Enclosing class:
Auth

public static interface Auth.RenewAuthResult
An interface providing completion callbackk for renewAuth
  • Method Details

    • onCompletion

      void onCompletion(boolean success, Auth.TokenDetails tokenDetails, ErrorInfo errorInfo)
      Signals completion of Auth.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.