authenticate static method

void authenticate(
  1. SDKNativeEngine sdkNativeEngine,
  2. AuthenticationCallback callback
)

Uses the authentication service that is connected to the given SDK engine to authenticate and retrieve a secure token.

This method operates asynchronously.

  • sdkNativeEngine The SDK engine instance.

  • callback Callback to retrieve an authentication token on the main thread.

Implementation

static void authenticate(SDKNativeEngine sdkNativeEngine, AuthenticationCallback callback) => $prototype.authenticate(sdkNativeEngine, callback);