Skip to content

Function: createCSRFInterceptor() ​

createCSRFInterceptor(tokenSource): (config) => InternalAxiosRequestConfig

Defined in: interceptors.ts:65

Creates Laravel CSRF token interceptor

Parameters ​

tokenSource ​

TokenSource

CSRF token or function that returns token

Returns ​

Request interceptor

(config) => InternalAxiosRequestConfig

Documentation of 1.0.14 , built from 5520ec9 on 1.0.14 by pipeline #2985012441 on 2026-10-21.