You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cloudplatform/cloudplatform-connectivity/src/main/java/com/sap/cloud/sdk/cloudplatform/connectivity/BtpServiceOptions.java
+63-7Lines changed: 63 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -211,21 +211,73 @@ public static OptionsEnhancer<?> withoutTokenForTechnicalProviderUser()
211
211
}
212
212
213
213
/**
214
-
* Creates an {@link OptionsEnhancer} that instructs an IAS-based destination to use the given application
215
-
* provider name when performing token retrievals. This is needed in <b>App-To-App</b> communication scenarios.
214
+
* Creates an {@link OptionsEnhancer} that instructs an IAS-based destination to use the given "Dependency Name"
215
+
* when performing token retrievals. This is needed in <b>App-To-App</b> communication scenarios.
216
216
* <p>
217
217
* <b>Hint:</b> This option is <b>mutually exclusive</b> with {@link #withConsumerClient(String)}.
218
218
*
219
219
* @param applicationName
220
-
* The name of the application provider to be used. This is the name that was used to register the
221
-
* to-be-called application within the IAS tenant.
220
+
* The name of the "Dependency Name" to be used. This is the name that was used to register the
221
+
* dependency to an API of a provider application within the IAS tenant.
222
222
* @return An instance of {@link OptionsEnhancer} that will lead to the given application provider being used
223
223
* when retrieving an authentication token from the IAS service.
Copy file name to clipboardExpand all lines: cloudplatform/connectivity-oauth/src/main/java/com/sap/cloud/sdk/cloudplatform/connectivity/BtpServicePropertySuppliers.java
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -210,6 +210,15 @@ private void attachIasCommunicationOptions( @Nonnull final OAuth2Options.Builder
Copy file name to clipboardExpand all lines: cloudplatform/connectivity-oauth/src/test/java/com/sap/cloud/sdk/cloudplatform/connectivity/BtpServicePropertySuppliersTest.java
0 commit comments