AuthChallenge class final
Hub → peer: a nonce the peer must sign (public-key auth) and echo.
- Inheritance
-
- Object
- ControlMessage
- AuthChallenge
Constructors
- AuthChallenge(String nonce)
-
Creates an auth challenge.
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
The message payload (excluding
type, which the codec adds).override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> d) → AuthChallenge - Decodes from JSON.