Axinom Mosaic Libraries
    Preparing search index...

    Function getManagementAuthenticationContext

    • Retrieves an ManagementAuthenticationContext object from request, containing Management Subject 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 Management System related services.

      Parameters

      • req: Request

        express Request object

      • OptionalauthParams: string | AuthenticationConfig

        The authentication endpoint for ID Service when used by a managed-service or an instance of AuthenticationConfig when used by a customizable-service.

      Returns Promise<ManagementAuthenticationContext>

      ManagementAuthenticationContext