Skip to main content
Version: 1.x

Interface: CSRFTokenResult

Defined in: src/modules/odata.ts:80

Result of a CSRF token fetch operation.

Example

const result: CSRFTokenResult = {
token: 'abc123',
serviceUrl: '/sap/opu/odata/sap/API_PRODUCT_SRV/',
};

Properties

serviceUrl

readonly serviceUrl: string

Defined in: src/modules/odata.ts:84

The OData service URL from which the token was fetched.


token

readonly token: string

Defined in: src/modules/odata.ts:82

The fetched CSRF token value.