Class JwtTokenWithForwardJwtAuthenticationInfo

java.lang.Object
com.sap.cds.services.authentication.JwtTokenAuthenticationInfo
com.sap.cds.services.authentication.JwtTokenWithForwardJwtAuthenticationInfo
All Implemented Interfaces:
AuthenticationInfo

public class JwtTokenWithForwardJwtAuthenticationInfo extends JwtTokenAuthenticationInfo
Representation of a JwtTokenAuthenticationInfo which additionally provides a forward token. WARNING: In general, the forward token is NOT authenticated and is meant for forwarding to remote services only.

For instance, in hybrid IAS/XSUAA authentication mode, the initial ID token can be used to forward to remote IAS-based services.

  • Constructor Details

    • JwtTokenWithForwardJwtAuthenticationInfo

      public JwtTokenWithForwardJwtAuthenticationInfo(String requestToken, String forwardToken)
  • Method Details

    • getForwardToken

      public String getForwardToken()
      Returns:
      the additional OAuth2 JWT token