Package com.parse

Interface AuthenticationCallback


  • public interface AuthenticationCallback
    Provides a general interface for delegation of third party authentication callbacks.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean onRestore​(java.util.Map<java.lang.String,​java.lang.String> authData)
      Called when restoring third party authentication credentials that have been serialized, such as session keys, etc.
    • Method Detail

      • onRestore

        boolean onRestore​(java.util.Map<java.lang.String,​java.lang.String> authData)
        Called when restoring third party authentication credentials that have been serialized, such as session keys, etc.

        Note: This will be executed on a background thread.

        Parameters:
        authData - The auth data for the provider. This value may be null when unlinking an account.
        Returns:
        true iff the authData was successfully synchronized or false if user should no longer be associated because of bad authData.