Represents authentication token returned from destination service.

interface DestinationAuthToken {
    error: null | string;
    expiresIn?: string;
    http_header: {
        key: string;
        value: string;
    };
    type: string;
    value: string;
}

Properties

error: null | string

Potential error of token retrieval in the destination service.

expiresIn?: string

The number of seconds until the access token expires.

http_header: {
    key: string;
    value: string;
}

An object containing ready-to-use key-value pairs like Authorization : Bearer U29tZVRva2VuVmFsdWU=.

type: string

Type of the token, e.g., Bearer.

value: string

Value of the token.

Copyright Ⓒ 2024 SAP SE or an SAP affiliate company. All rights reserved.