The licenses
service and license
APS type will implement the application SKUs offering
various kinds of services to customers.
In this document:
Declare the following properties for the license
APS type in the scripts/licenses.php
file:
The license name must reflect the respective SKU name it represents for sale:
/**
* @type(string)
* @title("LicenseName")
* @required
* @description("Human readable license name")
*/
public $name;
Human readable license description:
/**
* @type(string)
* @title("LicenseDescription")
* @description("Human readable license description")
*/
public $description;
A set of scopes to be sold to customers:
/**
* @type(string[])
* @title("Scopes")
* @required
* @description("Authorized scopes on the App side assigned to a particular token")
*/
public $scopes = array("repo");
You have completed the configuration of the licenses
service and the license
APS type in scripts/licenses.php
.
If there are any problems, compare it with the sample app.php
file: