Convenience function to create a destination from the provided service binding.
If a JWT is provided as part of options, the tenant in the JWT is used for client credentials grant, else the provider tenant is used, wherever applicable.
Supported service types are:
business-logging (OAuth2ClientCredentials)
destination (OAuth2ClientCredentials)
s4-hana-cloud (BasicAuthentication)
saas-registry (OAuth2ClientCredentials)
workflow (OAuth2ClientCredentials)
service-manager (OAuth2ClientCredentials)
xsuaa (OAuth2ClientCredentials)
aicore (OAuth2ClientCredentials)
identity (OAuth2ClientCredentials with mTLS or client secret)
Throws an error if the provided service binding is not supported.
Convenience function to create a destination from the provided service binding. If a JWT is provided as part of options, the tenant in the JWT is used for client credentials grant, else the provider tenant is used, wherever applicable. Supported service types are: