Class JwtTokenWithForwardJwtAuthenticationInfo
java.lang.Object
com.sap.cds.services.authentication.JwtTokenAuthenticationInfo
com.sap.cds.services.authentication.JwtTokenWithForwardJwtAuthenticationInfo
- All Implemented Interfaces:
AuthenticationInfo
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 Summary
ConstructorDescriptionJwtTokenWithForwardJwtAuthenticationInfo
(String requestToken, String forwardToken) -
Method Summary
Methods inherited from class com.sap.cds.services.authentication.JwtTokenAuthenticationInfo
getToken
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sap.cds.services.authentication.AuthenticationInfo
as, is
-
Constructor Details
-
JwtTokenWithForwardJwtAuthenticationInfo
-
-
Method Details
-
getForwardToken
- Returns:
- the additional OAuth2 JWT token
-