Class Index | File Index

Classes


Class GetApiKey

Creates or retrieves an api key for the given user
Defined in: getApiKey.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
GetApiKey(src, expires)
Creates or retrieves an api key for the given user Creates or retrieves an Api Key for the user with the username in 'src' .
Class Detail
GetApiKey(src, expires)
Creates or retrieves an api key for the given user Creates or retrieves an Api Key for the user with the username in 'src' . The results parsed into a text object keyed by AssetID from the JSON file in which they are contained, and by default are displayed to the user.
'MBurl'/wf/getApiKey?src=['root']&expires=true
http://127.0.0.1:55555/wf/getApiKey?src=["root"]
Parameters:
src
the username/usernames of the users to create the api keys for
expires
true/false determines if the key created will expire or not. default is true
Returns:
( {'username': "ApiKey",...} )

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Oct 02 2015 17:09:28 GMT-0500 (CDT)