Package 

Interface LoginStateCallback

  • All Implemented Interfaces:
    com.snap.loginkit.LoginResultCallback

    public interface LoginStateCallback
     implements LoginResultCallback
                        

    The public API interface to listen for Login state updates.

    • Method Summary

      Modifier and Type Method Description
      abstract void onLogout() Called whenever a user explicitly logs out via call to {@code clearToken()} or whenever the server returns 401,requiring force logout.
      • Methods inherited from class com.snap.loginkit.LoginResultCallback

        onFailure, onStart, onSuccess
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onLogout

         abstract void onLogout()

        Called whenever a user explicitly logs out via call to {@code clearToken()} or whenever the server returns 401,requiring force logout.