Skip to content

app > authentication

beforeLoginHookClassNameList

Array of hook class names. Fired before logging in before credentials are checked. Should implement Espo\Core\Authentication\Hook\BeforeLogin interface.

Important: Need to have __APPEND__ item in the beginning of the array when extening.

onFailHookClassNameList

Array of hook class names. Fired once logging in is failed. Should implement Espo\Core\Authentication\Hook\OnResult interface.

Important: Need to have __APPEND__ item in the beginning of the array when extening.

onSuccessHookClassNameList

Array of hook class names. Fired once logging in is success (not by auth token). Should implement Espo\Core\Authentication\Hook\OnResult interface.

Important: Need to have __APPEND__ item in the beginning of the array when extening.

onSuccessByTokenHookClassNameList

Array of hook class names. Fired once logging in by a token is success. Should implement Espo\Core\Authentication\Hook\OnResult interface.

Important: Need to have __APPEND__ item in the beginning of the array when extening.

onSecondStepRequiredHookClassNameList

Array of hook class names. Fired once first step is success and second step is required. Should implement Espo\Core\Authentication\Hook\OnResult interface.

Important: Need to have __APPEND__ item in the beginning of the array when extening.