Class XsuaaDefaultEndpoints

java.lang.Object
com.sap.cloud.security.xsuaa.client.XsuaaDefaultEndpoints
All Implemented Interfaces:
OAuth2ServiceEndpointsProvider

public class XsuaaDefaultEndpoints extends Object implements OAuth2ServiceEndpointsProvider
  • Constructor Details

    • XsuaaDefaultEndpoints

      public XsuaaDefaultEndpoints(@Nonnull String baseUri, @Nullable String certUri)
      Creates a new XsuaaDefaultEndpoints.
      Parameters:
      baseUri - - the base URI of XSUAA. Based on the base URI the tokenEndpoint, authorize and key set URI (JWKS) will be derived.
      certUri - - the cert URI of XSUAA. It is required in case of X.509 certificate based authentication.
    • XsuaaDefaultEndpoints

      public XsuaaDefaultEndpoints(@Nonnull OAuth2ServiceConfiguration config)
      Creates a new XsuaaDefaultEndpoints.
      Parameters:
      config - - OAuth2ServiceConfiguration of XSUAA. Based on the credential-type from the configuration, the tokenEndpoint URI, authorize and key set URI (JWKS) will be derived.
  • Method Details