CredentialProvider class abstract
Produces the AuthRequest a node or client sends in response to the Hub's
challenge hello.
Implementations encapsulate how the peer proves its identity (a bearer token or an Ed25519 signature over the connection nonce), so the runtimes stay independent of the credential type.
- Implementers
Constructors
Properties
Methods
-
createAuthRequest(
String nonce) → Future< AuthRequest> -
Builds an AuthRequest answering the challenge
nonce. -
identityPublicKeyBytes(
) → Future< Uint8List?> -
The raw public-key bytes that cryptographically bind this identity, used as
the strongest input to the node UID. Returns
nullwhen the credential has no key (e.g. a bearer token), in which case the UID falls back to hardware and platform attributes alone. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited