Axinom Mosaic Libraries
    Preparing search index...
    • Registers a service public key with the Key service. Caches the used token and the single registered public key. If some public keys were already cached - newly registered public key is added to the cached list.

      Parameters

      • config: SigningRegistrationConfig

        service configuration object containing all values relavant for event signing

      • keyServiceBaseUrl: string

        Base URL of Mosaic Key Service

      • getTokenCallback: GetEventSigningTokenFunc

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

      • Optionallogger: Logger

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

      Returns Promise<void>