signInByEmail method
Future<AuthResponse<T> >
signInByEmail(
- EmailAuthenticator authenticator, {
- SignByBiometricCallback<
T> ? onBiometric, - Object? args,
- String? id,
- bool notifiable = true,
inherited
Implementation
Future<AuthResponse<T>> signInByEmail(
EmailAuthenticator authenticator, {
SignByBiometricCallback<T>? onBiometric,
Object? args,
String? id,
bool notifiable = true,
}) {
return _signInWithEmailOrUsername(
provider: 'EMAIL',
type: AuthType.login,
doneMsg: msg.signInWithEmail.done,
failureMsg: msg.signInWithEmail.failure,
authenticator: authenticator,
onBiometric: onBiometric,
signIn: () => delegate.signInWithEmailNPassword(
authenticator.email,
authenticator.password,
),
args: args,
id: id,
notifiable: notifiable,
);
}