TotpOptions class
Options for configuring the TOTP MFA Experience
@override
Widget build(BuildContext context) {
return Authenticator(
totpOptions: const TotpOptions(issuer: 'My App'),
child: MaterialApp(
builder: Authenticator.builder(),
home: Scaffold(
body: Center(
child: Text('You are logged in!'),
),
),
),
),
}
Constructors
- TotpOptions({String? issuer})
-
Options for configuring the TOTP MFA Experience
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited