Skip to content

Commit 1e2ce14

Browse files
committed
fix formatting
1 parent 89b8214 commit 1e2ce14

File tree

1 file changed

+18
-9
lines changed
  • cloudplatform/cloudplatform-connectivity/src/main/java/com/sap/cloud/sdk/cloudplatform/connectivity

1 file changed

+18
-9
lines changed

cloudplatform/cloudplatform-connectivity/src/main/java/com/sap/cloud/sdk/cloudplatform/connectivity/BtpServiceOptions.java

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,9 @@ public static OptionsEnhancer<?> withoutTokenForTechnicalProviderUser()
222222
* @return An instance of {@link OptionsEnhancer} that will lead to the given application provider being used
223223
* when retrieving an authentication token from the IAS service.
224224
*
225-
* @see <a href="https://help.sap.com/docs/cloud-identity-services/cloud-identity-services/consume-apis-from-other-applications?locale=en-US">Consuming APIs from Other Applications</a>
225+
* @see <a href=
226+
* "https://help.sap.com/docs/cloud-identity-services/cloud-identity-services/consume-apis-from-other-applications?locale=en-US">Consuming
227+
* APIs from Other Applications</a>
226228
*/
227229
@Nonnull
228230
public static OptionsEnhancer<?> withApplicationName( @Nonnull final String applicationName )
@@ -231,8 +233,8 @@ public static OptionsEnhancer<?> withApplicationName( @Nonnull final String appl
231233
}
232234

233235
/**
234-
* Creates an {@link OptionsEnhancer} that instructs an IAS-based destination to use the given provider client ID
235-
* when performing token retrievals. This is needed in <b>App-To-App</b> communication scenarios.
236+
* Creates an {@link OptionsEnhancer} that instructs an IAS-based destination to use the given provider client
237+
* ID when performing token retrievals. This is needed in <b>App-To-App</b> communication scenarios.
236238
* <p>
237239
* <b>Hint:</b> This option is <b>mutually exclusive</b> with {@link #withConsumerClient(String)}.
238240
*
@@ -241,7 +243,9 @@ public static OptionsEnhancer<?> withApplicationName( @Nonnull final String appl
241243
* @return An instance of {@link OptionsEnhancer} that will lead to the given application provider being used
242244
* when retrieving an authentication token from the IAS service.
243245
*
244-
* @see <a href="https://help.sap.com/docs/cloud-identity-services/cloud-identity-services/consume-apis-from-other-applications?locale=en-US">Consuming APIs from Other Applications</a>
246+
* @see <a href=
247+
* "https://help.sap.com/docs/cloud-identity-services/cloud-identity-services/consume-apis-from-other-applications?locale=en-US">Consuming
248+
* APIs from Other Applications</a>
245249
*/
246250
@Nonnull
247251
public static OptionsEnhancer<?> withProviderClient( @Nonnull final String providerClientId )
@@ -250,9 +254,10 @@ public static OptionsEnhancer<?> withProviderClient( @Nonnull final String provi
250254
}
251255

252256
/**
253-
* Creates an {@link OptionsEnhancer} that instructs an IAS-based destination to use the given provider client ID
254-
* and provider tenant ID when performing token retrievals. This is needed in <b>App-To-App</b> communication scenarios
255-
* when having dependencies to <i>different tenants</i> of the <i>same, multi-tenant</i> provider application (fan-out / 1-N).
257+
* Creates an {@link OptionsEnhancer} that instructs an IAS-based destination to use the given provider client
258+
* ID and provider tenant ID when performing token retrievals. This is needed in <b>App-To-App</b> communication
259+
* scenarios when having dependencies to <i>different tenants</i> of the <i>same, multi-tenant</i> provider
260+
* application (fan-out / 1-N).
256261
* <p>
257262
* <b>Hint:</b> This option is <b>mutually exclusive</b> with {@link #withConsumerClient(String)}
258263
*
@@ -263,10 +268,14 @@ public static OptionsEnhancer<?> withProviderClient( @Nonnull final String provi
263268
* @return An instance of {@link OptionsEnhancer} that will lead to the given application provider being used
264269
* when retrieving an authentication token from the IAS service.
265270
*
266-
* @see <a href="https://help.sap.com/docs/cloud-identity-services/cloud-identity-services/consume-apis-from-other-applications?locale=en-US">Consuming APIs from Other Applications</a>
271+
* @see <a href=
272+
* "https://help.sap.com/docs/cloud-identity-services/cloud-identity-services/consume-apis-from-other-applications?locale=en-US">Consuming
273+
* APIs from Other Applications</a>
267274
*/
268275
@Nonnull
269-
public static OptionsEnhancer<?> withProviderClient( @Nonnull final String providerClientId, @Nonnull final String providerTenantId )
276+
public static
277+
OptionsEnhancer<?>
278+
withProviderClient( @Nonnull final String providerClientId, @Nonnull final String providerTenantId )
270279
{
271280
return new IasCommunicationOptions(null, providerClientId, providerTenantId, null, null);
272281
}

0 commit comments

Comments
 (0)