• This returns an array of Express Middleware for setting up authentication for End-User Applications related 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 End-User Applications related services.

    Parameters

    • authParams: string | AuthenticationConfig

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

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

    Middleware<Request, Response>[]

Generated using TypeDoc