Appearance
Function: createCSRFInterceptor()
createCSRFInterceptor(
tokenSource): (config) =>InternalAxiosRequestConfig
Defined in: interceptors.ts:65
Creates Laravel CSRF token interceptor
Parameters
tokenSource
CSRF token or function that returns token
Returns
Request interceptor
(config) => InternalAxiosRequestConfig