Interface CsrfTokenAPI

interface CsrfTokenAPI {
    clearCache: () => void;
    getCsrfToken: (
        options?: ApiCallOptions,
    ) => Promise<GetCsrfTokenHttpResponse>;
}
Index

Properties

clearCache: () => void

Clears the cache for csrf-token api requests.

Type declaration

    • (): void
    • Clears the cache for csrf-token api requests.

      Returns void

getCsrfToken: (options?: ApiCallOptions) => Promise<GetCsrfTokenHttpResponse>

Returns CSRF token via the qlik-csrf-token header.

Type declaration

GetCsrfTokenHttpError