Axinom Mosaic Libraries
    Preparing search index...

    Function getEndUserAuthenticationContext

    • Retrieves an EndUserAuthenticationContext object from request, containing End-User and error information. In case a non-http request needs to be authenticated - publicKeyInfo must be provided to extract a jwt token from said request. This function is intended to be used for End-User Application related services.

      Parameters

      • req: Request

        express Request object

      • OptionalauthParams: string | AuthenticationConfig

        The authentication endpoint for User Service or an instance of AuthenticationConfig.

      Returns Promise<EndUserAuthenticationContext>

      ManagementAuthenticationContext