ExperimentalAuthManager class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
identifier
↔ String
-
Identifier for this device (eg: uuid)
getter/setter pairinherited
-
logger
↔ Logger
-
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
signingManager
↔ SigningManager
-
SiginigManager instance.
It will be used to sign messages before sending it to the connected peer
getter/setter pairinherited
Methods
-
initialize()
→ void
-
Initializer function for this class. It will be executed when ConnectionsManager
is initialized.
Use this to set-up your authentication flow, like setting up the signingManager instance.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
processHandshake(Device device, NearbyMessage message)
→ void
-
Process a handshake message
This will be executed when a NearbyMessageType.handshake message is received
override
-
setIdentifier(String newId)
→ void
-
Sets identifier
override
-
sign(NearbyMessage message)
→ void
-
Signs NearbyMessage using signingManager instance
override
-
startHandshake(Device device)
→ void
-
Starts handshake protocol.
This will be executed every new device connection
override
-
toString()
→ String
-
A string representation of this object.
inherited