AuthenticationCommandHandler class
abstract
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
logger
→ Logger
final
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
getApplication (String appIdentifier )
→ Application
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.
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.
handle ({required DeviceCommand command , required AuthenticationState state })
→ Future <void >
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
.
toString ()
→ String
A string representation of this object.
inherited
validateChallengeResponse ({required ChallengeCommand challenge , required DeviceCommand command , required String secret })
→ bool
automated_testing_framework_server_websocket 2.0.1+14