ChallengeManager class
Constructors
- ChallengeManager({required String serverId, Duration ttl = kDefaultAuthenticationChallengeTtl, int maxAttempts = kDefaultAuthenticationMaxAttempts, DateTime now()?})
Properties
- hashCode → Channel
-
The hash code for this object.
no setterinherited
- maxAttempts → Channel
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serverId ↔ String
-
getter/setter pair
- ttl → Duration
-
final
Methods
-
generateNewChallenge(
Channel channel, {int failedAttempts = 0}) → AuthenticationChallenge -
getChallenge(
Channel channel) → AuthenticationChallenge? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerFailedAttempt(
Channel channel) → AuthenticationChallenge? -
removeChallenge(
Channel channel) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited