Authenticators constructor
Authenticators({})
Implementation
factory Authenticators({
$core.Iterable<Username>? usernames,
Password? password,
$core.Iterable<WebAuthN>? webAuthN,
$core.Iterable<TOTP>? totps,
$core.Iterable<OTPSMS>? otpSms,
$core.Iterable<OTPEmail>? otpEmail,
$core.Iterable<AuthenticationKey>? authenticationKeys,
$core.Iterable<IdentityProvider>? identityProviders,
}) {
final $result = create();
if (usernames != null) {
$result.usernames.addAll(usernames);
}
if (password != null) {
$result.password = password;
}
if (webAuthN != null) {
$result.webAuthN.addAll(webAuthN);
}
if (totps != null) {
$result.totps.addAll(totps);
}
if (otpSms != null) {
$result.otpSms.addAll(otpSms);
}
if (otpEmail != null) {
$result.otpEmail.addAll(otpEmail);
}
if (authenticationKeys != null) {
$result.authenticationKeys.addAll(authenticationKeys);
}
if (identityProviders != null) {
$result.identityProviders.addAll(identityProviders);
}
return $result;
}