ChallengeResponseAuthCommandHandler class

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
logger → Logger
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getApplication(String appIdentifier) Application
inherited
getDevice({required Application app, required TestDeviceInfo deviceInfo, required TestControllerState testControllerState}) Device
Helper function to get a Device from the cache based on the deviceInfo. A Device will exist in the cache in the event it was previously connected and now attempting to reconnect.
inherited
getDriver({required Application app, required String driverId, required String driverName}) Driver
Helper function to get a Driver from the cache based on the driverId. A Driver will exist in the cache in the event it was previously connected and now attempting to reconnect.
inherited
handle({required DeviceCommand command, required AuthenticationState state}) Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
respondToChallenge({required String commandId, required String salt, required String secret, required WebSocket socket, required DateTime timestamp}) → void
Helper function to respond to a challenge request. This will create and send the appropriate ChallengeResponseCommand to the socket.
inherited
toString() String
A string representation of this object.
inherited
validateChallengeResponse({required ChallengeCommand challenge, required DeviceCommand command, required String secret}) bool
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited