Application extends Application
Class Application
Table of Contents
Methods
- __construct() : mixed
- Application constructor.
- checkDavHeaders() : bool
- checkScope() : bool
- Checks the valid scope for the applicaton.
- generateAppPassword() : bool|string
- Generates AP for REST access.
- onApplicationsBuildList() : array<string|int, mixed>
- Application passwords event handler.
Methods
__construct()
Application constructor.
public
__construct() : mixed
checkDavHeaders()
public
static checkDavHeaders() : bool
Return values
boolcheckScope()
Checks the valid scope for the applicaton.
public
checkScope() : bool
Return values
boolgenerateAppPassword()
Generates AP for REST access.
public
static generateAppPassword(int $userId, string $appId) : bool|string
Parameters
- $userId : int
-
Id of password owner user.
- $appId : string
-
Type of application(caldav, carddav, webdav).
Tags
Return values
bool|string —password or false
onApplicationsBuildList()
Application passwords event handler.
public
static onApplicationsBuildList() : array<string|int, mixed>