• This is an Express Middleware for setting up Authentication for Management System related services. All routes passed into this middleware will require an authentication token to be accessed.

    Parameters

    • app: Express

      the Express app instance.

    • guardRoutes: string[]

      an array of routes that needs to be protected.

    • authParams: string | AuthenticationConfig

      A string with the ID Service Auth Endpoint or an instance of AuthenticationConfig containing ID service connection information. For non-managed services, providing AuthenticationConfig with correct tenant and environment IDs is mandatory.

    Returns void

Generated using TypeDoc