ModuleIdentityToken class

A token that identifies a module and proves its identity to other modules.

This token is granted by the ModuleManager during the module's initialization lifecycle. It is used to sign signals and verify that the sender is indeed the module they claim to be.

Constructors

ModuleIdentityToken.issue(String moduleId)
Create a new identity token (Internal use only)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
issuedAt DateTime
final
moduleId String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
verify(String expectedModuleId) bool
Verify if the token matches the expected module ID

Operators

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