Protects TOTP secrets before they cross a persistence boundary.
Production applications should implement this with their key-management system. The plugin never persists the raw secret directly; it only passes the protected value to AuthTwoFactorStore.
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
protect(
String secret) → String - Protects a raw TOTP secret before persistence.
-
reveal(
String protectedSecret) → String - Recovers a raw TOTP secret for verification.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited