Application extends Application
use \Bitrix\Rest\APAuth\PasswordTable
Table of Contents
Constants
- ID = 'rest'
Methods
- __construct() : mixed
- checkScope() : bool
- Checks the valid scope for the applicaton.
- generateAppPassword() : bool|string
- Generates AP for REST access.
- onApplicationsBuildList() : mixed
Constants
ID
public
mixed
ID
= 'rest'
Methods
__construct()
public
__construct() : mixed
checkScope()
Checks the valid scope for the applicaton.
public
checkScope() : bool
Return values
boolgenerateAppPassword()
Generates AP for REST access.
public
static generateAppPassword(string $siteTitle, array<string|int, mixed> $scopeList) : bool|string
Parameters
- $siteTitle : string
-
Site title for AP description.
- $scopeList : array<string|int, mixed>
Tags
Return values
bool|string —password or false
onApplicationsBuildList()
public
static onApplicationsBuildList() : mixed