Interface AuthenticationCallback

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface AuthenticationCallback

Callback passed to Authentication.authenticate(SDKNativeEngine). This callback is called on the main thread asynchronously when an authenticate call has completed.

  • Method Details

    • onTokenReceived

      void onTokenReceived(@Nullable AuthenticationError authenticationError, @Nullable AuthenticationData authenticationData)

      Callback passed to Authentication.authenticate(SDKNativeEngine). This callback is called on the main thread asynchronously when an authenticate call has completed.

      Parameters:
      authenticationError -

      Represents the operation status. It is 'null' for an operation that succeeds.

      authenticationData -

      Represents the authentication data.