• 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<ParamsDictionary, any, any, ParsedQs, Record<string, any>>

      express Request object

    • Optional authParams: 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

Generated using TypeDoc