PHP Класс Backend\Core\Engine\Api

Устаревший:
Показать файл Открыть проект

Открытые методы

Метод Описание
appleAddDevice ( string $token, string $email ) Add an Apple device to a user.
appleRemoveDevice ( string $token, string $email ) Remove an Apple device from a user.
getAPIKey ( string $email, string $password ) : array Get the API-key for a user.
getInfo ( ) : array Get info about the site.
microsoftAddDevice ( string $uri, string $email ) Add a Microsoft device to a user.
microsoftRemoveDevice ( string $uri, string $email ) Remove a device from a user.

Описание методов

appleAddDevice() публичный статический Метод

Add an Apple device to a user.
public static appleAddDevice ( string $token, string $email )
$token string The token of the device.
$email string The emailaddress for the user to link the device to.

appleRemoveDevice() публичный статический Метод

Remove an Apple device from a user.
public static appleRemoveDevice ( string $token, string $email )
$token string The token of the device.
$email string The emailaddress for the user to link the device to.

getAPIKey() публичный статический Метод

Get the API-key for a user.
public static getAPIKey ( string $email, string $password ) : array
$email string The emailaddress for the user.
$password string The password for the user.
Результат array

getInfo() публичный статический Метод

Get info about the site.
public static getInfo ( ) : array
Результат array

microsoftAddDevice() публичный статический Метод

Add a Microsoft device to a user.
public static microsoftAddDevice ( string $uri, string $email )
$uri string The uri of the channel opened for the device.
$email string The emailaddress for the user to link the device to.

microsoftRemoveDevice() публичный статический Метод

Remove a device from a user.
public static microsoftRemoveDevice ( string $uri, string $email )
$uri string The uri of the channel opened for the device.
$email string The emailaddress for the user to link the device to.