• Retrieve JWT from a request that is based on the node IncomingMessage. Fails if no authorization header is given or has the wrong format. Expected format is 'Bearer '.

    Parameters

    • req: IncomingMessage

      Request to retrieve the JWT from.

    Returns string | undefined

    JWT found in header.

    Copyright Ⓒ 2024 SAP SE or an SAP affiliate company. All rights reserved.