• Retrieves and caches a list of public keys for services which events the current service is expecting to receive.

    Parameters

    • builders: RascalConfigBuilder[]

      Used to determine which events the service is expecting to receive. Passing a list of all builders used by setupMessagingBroker is recommended.

    • keyServiceBaseUrl: string

      Base URL of Mosaic Key Service

    • getTokenCallback: GetEventSigningTokenFunc

      Function to retrieve authorization token result to make a request to the Key Service

    • Optional logger: Logger

      Optional instance of the Mosaic Logger. If not provided - new instance will be created and used by the function itself.

    Returns Promise<PublicSigningKey[]>

Generated using TypeDoc