Optionalservice: ServiceCredentials | Service | "identity"Service credentials ServiceCredentials, the service type (always 'identity' for IAS), or a Service binding.
Optionaloptions: IasTokenOptionsOptions for IAS token retrieval. See IasTokenOptions.
An IasTokenResult containing the access token, expiration, and optional refresh token.
Prefer using 'identity' (default) for the service parameter.
Passing raw ServiceCredentials or Service directly is only recommended for environments where service bindings are unavailable as they hardcode the credentials.
Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.
Returns an IAS token from the Identity Authentication Service. Supports both technical user (OAuth2ClientCredentials) and business user (OAuth2JWTBearer) flows.