isTrustedPublishRequest method
Determines if a given request
comes from a trusted source.
If so, the request does not have to provide a pre-established ID, and instead will be assigned one.
Implementation
@override
bool isTrustedPublishRequest(PublishRequest request) {
// Isolate clients are considered trusted, because they are
// running in the same process as the central server.
return true;
}