registerAuthenticator method
Registers authenticator from getNotRegisteredAuthenticators list.
Implementation
Future<void> registerAuthenticator(
BuildContext? context, String authenticatorId) async {
Onegini.instance.setEventContext(context);
await Onegini.instance.channel
.invokeMethod(Constants.registerAuthenticator, <String, String>{
'authenticatorId': authenticatorId,
});
}