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

      express Request object

    • Optional authParams: string | AuthenticationConfig

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

    Returns Promise<EndUserAuthenticationContext>

    ManagementAuthenticationContext

Generated using TypeDoc