PHP Class Backend\Core\Engine\Api

Deprecation:
Afficher le fichier Open project: forkcms/forkcms

Méthodes publiques

Méthode Description
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.

Method Details

appleAddDevice() public static méthode

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() public static méthode

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() public static méthode

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.
Résultat array

getInfo() public static méthode

Get info about the site.
public static getInfo ( ) : array
Résultat array

microsoftAddDevice() public static méthode

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() public static méthode

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.