Axinom Mosaic Libraries
    Preparing search index...
    • Ensures that the subject contains the required permissions to execute a piece of code

      Parameters

      • subject: AuthenticatedManagementSubject | undefined

        The management subject - most often parsed from a JWT

      • permissions: string[]

        the list of permissions that allow to use that message handler

      • serviceId: string

        the service ID of this service

      Returns Promise<void>