AuthenticationCallback typedef

AuthenticationCallback = void Function(AuthenticationError? authenticationError, AuthenticationData? authenticationData)

Callback passed to Authentication.authenticateWithSDKNativeEngine.

This callback is called on the main thread asynchronously when an authenticate call has completed.

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

  • authenticationData Represents the authentication data.

Implementation

typedef AuthenticationCallback = void Function(AuthenticationError? authenticationError, AuthenticationData? authenticationData);