• This returns an array of Express Middleware for setting up authentication for GQL Subscriptions. These middleware should be passed as websocketMiddleware when setting up web socket server using setupHttpServerWithWebsockets(). This middleware is intended to be used for Management System related services.

    Parameters

    • authParams: string | AuthenticationConfig

      authentication endpoint of ID Service or an instance of AuthenticationConfig containing ID Service authentication info.

    Returns Middleware<Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, Response<any, Record<string, any>>>[]

    Middleware<Request, Response>[]

Generated using TypeDoc