• 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 '.

    Returns

    JWT found in header.

    Parameters

    • req: IncomingMessage

      Request to retrieve the JWT from.

    Returns string | undefined

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