AuthenticationManager class abstract

Implementers

Constructors

AuthenticationManager()

Properties

hashCode int
The hash code for this object.
no setterinherited
identifier String
Identifier for this device (eg: uuid)
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 pair

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.
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
setIdentifier(String newId) → void
Sets identifier
sign(NearbyMessage message) → void
Signs NearbyMessage using signingManager instance
startHandshake(Device device) → void
Starts handshake protocol. This will be executed every new device connection
toString() String
A string representation of this object.
inherited

Operators

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