The service binding to transform.
Optionaloptions: { jwt?: JwtPayload } & CachingOptions & { url?: string }Options used to transform the service binding.
Optionaljwt?: JwtPayloadThe JWT payload used to fetch destinations.
Optionalurl?: stringA promise returning the transformed destination on success.
Copyright Ⓒ 2025 SAP SE or an SAP affiliate company. All rights reserved.
Convenience function to create a destination from the provided service binding. Transforms a service binding to a destination of type OAuth2ClientCredentials. If a JWT is provided as part of the options, the tenant in the JWT is used for the client credentials grant, else the provider tenant is used, wherever applicable.