menu

SFRA / Server-side JS / Namespace: CSRF

CSRF

Methods

(static) Base/CSRF-AjaxFail()

CSRF-AjaxFail : The CSRF-AjaxFail endpoint is responsible for handling CSRF token mismatch in ajax requests

Parameters:
Type Description
category

non-sensitive

returns

imsl

serverfunction

get

Source:

(static) Base/CSRF-Fail()

CSRF-Fail : The CSRF-Fail endpoint is responsible for rendering the CSRF token mismatch error page

Parameters:
Type Description
category

non-sensitive

renders

isml

serverfunction

get

Source:

(static) Base/CSRF-Generate()

CSRF-Generate : This endpoint generates a CSRF token... This is made for integration test purposes

Parameters:
Type Description
category

non-sensitive

returns

isml

serverfunction

get

Source: