com.worklight.wlclient.api

Interface WLAccessTokenListener

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void onFailure(WLFailResponse response)
      Called when WLAuthorizationManager.obtainAccessToken fails.
      void onSuccess(AccessToken accessToken)
      Called when WLAuthorizationManager.obtainAccessToken completes successfully.
    • Method Detail

      • onSuccess

        void onSuccess(AccessToken accessToken)
        Called when WLAuthorizationManager.obtainAccessToken completes successfully.
        Parameters:
        accessToken - Access token for the requested scope.
      • onFailure

        void onFailure(WLFailResponse response)
        Called when WLAuthorizationManager.obtainAccessToken fails.
        Parameters:
        response - Response containing error information.


© Copyright IBM Corp. 2006, 2015. All Rights Reserved.