Interface OAuth2DestinationBuilder.BuilderWithTokenEndpoint

Enclosing class:
OAuth2DestinationBuilder
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface OAuth2DestinationBuilder.BuilderWithTokenEndpoint
Helper interface to serve mandatory input for OAuth2 client identity and OAuth2 token representative.
Since:
4.10.0
  • Method Summary

    Modifier and Type
    Method
    Description
    withClient(com.sap.cloud.security.config.ClientIdentity clientIdentity, OnBehalfOf behalf)
    Apply the OAuth2 client identity and representative.
  • Method Details

    • withClient

      @Nonnull DefaultHttpDestination.Builder withClient(@Nonnull com.sap.cloud.security.config.ClientIdentity clientIdentity, @Nonnull OnBehalfOf behalf)
      Apply the OAuth2 client identity and representative.
      Parameters:
      clientIdentity - The OAuth2 Client Identity.
      behalf - The OAuth2 token representative.
      Returns:
      The same builder instance.
      Since:
      4.10.0
      See Also:
      • ClientCertificate
      • ClientCredentials