Documentation

Application

Interfaces, Classes and Traits

pm_WebServer_Interface
Web server service interface
HookInterface
Generic interface for hooks
pm_WebServer_Abstract
Web server service base implementation
pm_WebServer_Apache
Apache web server service interface
pm_WebServer_IIS
IIS service interface
pm_WebServer_Nginx
Nginx proxy service interface
ExternalDns
Hook for external DNS integration
Webmail
Client
Validates that access was performed by specified user or any user that can impersonate as this user.
Cors
Adds cross-origin resource sharing headers as configured server-wide.
Csrf
Validates that request has proper forgery protection token.
Domain
Validates that access was performed by user that has access to the specified domain.
Session
Returns HTTP 401 if no session is defined by other means like BasicAuth, or KeyHeaderAuth.
UserRole
Validates that access was performed by user with the specified role.
ApiKey
Initializes Plesk session from the "X-API-Key" header.
Basic
Initializes Plesk session from the "Authorization: Basic" header.
ErrorHandler
Wraps uncaught exceptions into a JSON response.
HttpsRedirect
Returns 301/308 in case the request was made to plain HTTP.
ApiAllowed
Validates that remote API access is allowed for the remote IP.
ApiEnabled
Validates that remote API is allowed on the server.
Initialized
Validates that Plesk is initialized.
Webmail

Search results