SimpleAuthService class
SIMULATED JWT Implementation (For Demo purposes without external deps)
In production, replace with dart_jsonwebtoken.
- Implemented types
Constructors
- SimpleAuthService(String secret)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
signToken(
UserPrincipal user) → Future< String> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
verifyToken(
String token) → Future< UserPrincipal?> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited