SAP Cloud SDK for JavaScript - v4.7.0
    Preparing search index...
    • Returns an IAS token from the Identity Authentication Service. Supports both technical user (OAuth2ClientCredentials) and business user (OAuth2JWTBearer) flows.

      Parameters

      Returns Promise<IasTokenResult>

      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.