onAuthentication abstract method

OutOfBandOperation onAuthentication(
  1. dynamic onAuthentication(
    1. OutOfBandAuthentication
    )
)

Specifies the object that will handle the OutOfBandAuthentication object associated with the out-of-band payload.

IMPORTANT
Providing at least one of the onRegistration or onAuthentication callbacks is required.

Params:

  • onAuthentication: the Function that will be invoked in case of authentication.

Returns: an OutOfBandOperation object.

Implementation

OutOfBandOperation onAuthentication(
  Function(OutOfBandAuthentication) onAuthentication,
);