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 extending.

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 extending.

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 extending.

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 extending.

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 extending.