AuthDeviceAuthorizationPollingOptions class final
Controls a high-level RFC 8628 device-token polling operation.
Constructors
- AuthDeviceAuthorizationPollingOptions({DateTime? deadline, AuthDeviceAuthorizationPollingController? controller, AuthDeviceAuthorizationShouldContinue? shouldContinue, AuthDeviceAuthorizationClock? clock, AuthDeviceAuthorizationDelay? delay})
- Creates polling options with injectable clock and delay hooks.
Properties
- clock → AuthDeviceAuthorizationClock
-
Clock hook. Applications normally use the system-clock default.
final
- controller → AuthDeviceAuthorizationPollingController?
-
Optional controller that can interrupt a pending wait.
final
- deadline → DateTime?
-
Optional caller deadline. The authorization expiry still takes priority
when it occurs sooner.
final
- delay → AuthDeviceAuthorizationDelay
-
Delay hook. Applications normally use the timer-backed default.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldContinue → AuthDeviceAuthorizationShouldContinue?
-
Optional callback evaluated before every wait.
final
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