Optional
cacheThe verification keys are cached if set to true.
Name of the destination to retrieve, mandatory.
Optional
iasOption to enable/disable the IAS token to XSUAA token exchange.
Optional
isolationThe isolation strategy used for caching destinations. For the available options, see IsolationStrategy. By default, 'tenant-user' is set.
Optional
issThis property is only considered in case no jwt
is provided.
It is meant for situations where you do not have a token e.g. background processes.
The value for iss
is the issuer field of a JWT e.g. https://
ATTENTION: If this property is used, no validation of the provided subdomain value is done.
This is differs from how the jwt
is handled.
So be careful that the used value is not manipulated and breaks the tenant isolation of your application.
Optional
jwtThe user token of the current request.
ATTENTION: The property is mandatory in the following cases:
OAuth2UserTokenExchange
, OAuth2JWTBearer
, OAuth2SAMLBearerAssertion
, SAMLAssertion
or PrincipalPropagation
.selectionStrategy
is set to alwaysSubscriber
.Optional
refreshThe token is used to request an access token from an OAuth server.
The value is mandatory for authentication type OAuth2RefreshToken
and is ignored for other authentication types.
The value must be provided in a refresh token format.
Optional
retryThe call to destination/{name}
sometimes also performs a token exchange. Such calls can be flaky due to an unstable token exchange endpoint.
This parameter enables 3 retries on the destination by name calls.
By default, the retry is disabled.
Optional
selectionMethod that implements the selection strategy of the retrieved destination. Uses subscriberFirst per default. Use the selector helper DestinationSelectionStrategies to select the appropriate selection strategy.
Optional
useA boolean value that indicates whether to read destinations from cache.
Copyright Ⓒ 2024 SAP SE or an SAP affiliate company. All rights reserved.
Declaration of a destination to be retrieved from an environment variable or from the destination service on SAP Business Technology Platform, including all DestinationOptions.
Use an object of this interface to specify which destination shall be used when executing a request. The destination will be retrieved via its DestinationFetchOptions.destinationName according to the following algorithm:
destinations
(if available), it will be converted into a Destination and used for the request.