Authenticator constructor
- {required String aaid,
- required bool isSupportedByHardware,
- required RegistrationInfo registration,
- required UserEnrollment userEnrollment}
Default constructor for Authenticator.
- aaid: the AAID associated with the authenticator.
- isSupportedByHardware: flag that tells whether the device has hardware supporting this authenticator.
- registration: the registration information.
- userEnrollment: the user enrollment information.
Implementation
factory Authenticator({
required String aaid,
required bool isSupportedByHardware,
required RegistrationInfo registration,
required UserEnrollment userEnrollment,
}) {
return AuthenticatorImpl(
aaid: aaid,
isSupportedByHardware: isSupportedByHardware,
registration: registration,
userEnrollment: userEnrollment,
);
}