Buyer
Table of Contents
Constants
- AUTH_ID = 'shop'
Methods
- OnBeforeSendUserInfoHandler() : mixed
- Event handler for buyer password restore.
- onBeforeUserAddHandler() : bool
- Event handler for buyer creation when api checks user fields.
- OnBeforeUserChangePasswordHandler() : mixed
- Event handler for buyer password restore.
- onBeforeUserSendPasswordHandler() : mixed
- Event handler for buyer password restore.
- onBeforeUserUpdateHandler() : bool
- Event handler for buyer editing when api checks user fields.
- onUserLoginExternalHandler() : int|null
- Event handler for buyer authorization when api checks external users.
Constants
AUTH_ID
public
mixed
AUTH_ID
= 'shop'
Methods
OnBeforeSendUserInfoHandler()
Event handler for buyer password restore.
public
static OnBeforeSendUserInfoHandler(mixed &$params) : mixed
Parameters
- $params : mixed
Tags
onBeforeUserAddHandler()
Event handler for buyer creation when api checks user fields.
public
static onBeforeUserAddHandler(mixed $fields) : bool
Parameters
- $fields : mixed
Tags
Return values
boolOnBeforeUserChangePasswordHandler()
Event handler for buyer password restore.
public
static OnBeforeUserChangePasswordHandler(mixed &$params) : mixed
Parameters
- $params : mixed
Tags
onBeforeUserSendPasswordHandler()
Event handler for buyer password restore.
public
static onBeforeUserSendPasswordHandler(mixed &$params) : mixed
Parameters
- $params : mixed
Tags
onBeforeUserUpdateHandler()
Event handler for buyer editing when api checks user fields.
public
static onBeforeUserUpdateHandler(mixed $fields) : bool
Parameters
- $fields : mixed
Tags
Return values
boolonUserLoginExternalHandler()
Event handler for buyer authorization when api checks external users.
public
static onUserLoginExternalHandler(mixed &$arParams) : int|null
Parameters
- $arParams : mixed