Optionalservice: Service | ServiceCredentials | "identity"
Service credentials ServiceCredentials, the service type (always 'identity' for IAS), or a Service binding.
Optionaloptions: IasTokenOptions
Options for IAS token retrieval. See IasTokenOptions.
An IasTokenResult containing the access token, expiration, and optional refresh token.
Returns an IAS token from the Identity Authentication Service. Supports both technical user (OAuth2ClientCredentials) and business user (OAuth2JWTBearer) flows.