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
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