Readonly [initProtected checkReadonly checkProtected dbProtected discoverReadonly discoverProtected discoverProtected gestaltProtected identitiesProtected keyProtected loggerProtected nodeProtected rediscoverInterval delay used when checking for nodes to rediscover
Protected rediscoverThe time since a vertex has been processed where re processing will be skipped
Protected rediscoverThe threshold used when deciding to rediscover a vertex based on how long ago it was processed
Protected staleThe time threshold for
Protected taskThis returns the discovery queue
Optional tran: DBTransactionProtected getHelper function to retrieve the IdentityInfo of an identity on a provider. All claims in the returned IdentityInfo are verified by the node it claims to link to. Returns undefined if no identity info to be retrieved (either no provider or identity data found).
Protected hasProtected processProtected processProtected processProtected processProtected processOptional lastProcessedCutoffTime: numberOptional ctx: Partial<ContextTimed>Protected processedReturns true if the vertex was processed after the given time
Optional tran: DBTransactionQueues an identity for discovery. Internally calls
pushKeyToDiscoveryQueue.
Optional lastProcessedCutoffTime: numberQueues a node for discovery. Internally calls pushKeyToDiscoveryQueue.
Optional lastProcessedCutoffTime: numberProtected scheduleCreates a task that to discover a vertex. Will not create a new task if an existing task for the vertex exists.
The task can be scheduled with an optional delay. If the task already exists then the delay will be updated
Protected verifyHelper function to retrieve and verify the claims of an identity on a given provider. Connects with each node the identity claims to be linked with, and verifies the claim with the public key of the node.
This method never throws if ctx has aborted, opting instead to return early with a lastProviderPaginationToken so that the caller can process the partially requested Claims as well as resume progress when calling again.
Static createOptional discoverOptional fresh?: booleanOptional logger?: LoggerOptional rediscoverOptional rediscoverOptional rediscoverOptional staleGenerated using TypeDoc
This handler is run periodically to check if nodes are ready to be rediscovered