Class ClientCredentialJwtReader

java.lang.Object
com.sap.cds.services.utils.lib.mtx.impl.ClientCredentialJwtReader

@Deprecated(forRemoval=true, since="3.4.0") public class ClientCredentialJwtReader extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Class responsible for retrieval of a new JWT from XSUAA service via client credential flow
  • Constructor Details

    • ClientCredentialJwtReader

      public ClientCredentialJwtReader(XsuaaParams xsuaaParams)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Parameters:
      xsuaaParams - parameters of xsuaa service instance
  • Method Details

    • getJwt

      Deprecated, for removal: This API element is subject to removal in a future version.
      Retrieve a new JWT
      Returns:
      the OAuth2TokenResponse
      Throws:
      IOException - thrown if communication with XSUAA service fails