getNotRegisteredAuthenticators method
Returns a list of authenticators available to the user, but not yet registered.
Implementation
Future<List<OneginiListResponse>> getNotRegisteredAuthenticators(
BuildContext? context) async {
try {
var authenticators = await Onegini.instance.channel
.invokeMethod(Constants.getAllNotRegisteredAuthenticators);
return responseFromJson(authenticators);
} on TypeError catch (error) {
throw PlatformException(
code: Constants.wrapperTypeError.code.toString(),
message: Constants.wrapperTypeError.message,
stacktrace: error.stackTrace?.toString());
}
}