User Tools

Site Tools


access:internet_key_api_development

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
access:internet_key_api_development [2011/02/02 01:32]
mjallison
access:internet_key_api_development [2012/10/10 16:20] (current)
Line 27: Line 27:
 __**methods**__ __**methods**__
   * **UserList listUsers( LicenseKey l )** - Lists users currently assigned to the key   * **UserList listUsers( LicenseKey l )** - Lists users currently assigned to the key
 +  * **StorageUser addUser(String id, int customer, int type, boolean isAdmin, boolean isSupport, String password)** - Moved method from CustomerAdmin API.
   * **StorageUser addUser( String id, int type, boolean isAdmin, String password )** - Restricted form to support only customer admins, AGTEK Support to use the method in Agtek SupportAPI.   * **StorageUser addUser( String id, int type, boolean isAdmin, String password )** - Restricted form to support only customer admins, AGTEK Support to use the method in Agtek SupportAPI.
   * **void addUser( LicenseKey l, StorageUser u )** - Adds a user to the specific key.   * **void addUser( LicenseKey l, StorageUser u )** - Adds a user to the specific key.
   * **void removeUser( LicenseKey l, StorageUser u )** -- Removes a user from the specified key.    * **void removeUser( LicenseKey l, StorageUser u )** -- Removes a user from the specified key. 
-  * **void ​updateLicenseDuration( LicenseKey l, long newDuration )** -- Modifies the license duration.+  * **void ​updateLicenseMaxCheckout( LicenseKey l, long newDuration )** -- Modifies the license duration.
  
 ===== SupportAPI (AGTEK Employees only) ===== ===== SupportAPI (AGTEK Employees only) =====
Line 40: Line 41:
  
 __**methods**__ __**methods**__
-  * **StorageUser addUser(String idint customerint typeboolean isAdminboolean isSupportString password)** - Moved method from CustomerAdmin API. +  * **LicenseKey createLicenselicenseTypecustomerIdmaxUsersmaxCheckoutPeriodexpireTimeproductstimedProducts,​ timedExpire() ​)** - Create a new key for the user.
-  * **LicenseKey createLicense( Customer cLicenseType t )** - Create a new key for the user.+
   * **void deleteLicense( LicenseKey l )** - Delete a key, and all of it's user assignments.   * **void deleteLicense( LicenseKey l )** - Delete a key, and all of it's user assignments.
   * **void updateLicense( LicenseKey l )** - Updates the contents of the key in the database (same id) with changes.   * **void updateLicense( LicenseKey l )** - Updates the contents of the key in the database (same id) with changes.
 +  * **void unlockLicense( LicenseKey l )** - Removes the checkout of the License Key.
   * **void updateUser( StorageUser u )** - Modified to handle Role.    * **void updateUser( StorageUser u )** - Modified to handle Role. 
-  * **void ​updateCusteomer( StorageCustomer c )** - Updated to handle //​hasAccess//​ and //​hasLicense//​ flags.+  * **void ​updateCustomer( StorageCustomer c )** - Updated to handle ​//​maxUsers//, ​//​hasAccess//​ and //​hasLicense//​ flags.
  
 ===== Storage User ===== ===== Storage User =====
access/internet_key_api_development.1296610332.txt.gz · Last modified: 2012/10/10 16:20 (external edit)