build/authorify.js
function(api, id, key) {
  // get storage object
  var rval = _getStorageObject(api, id);
  if(rval !== null) {
    // return data at key
    rval = (key in rval) ? rval[key] : null;
  }

  return rval;
}
function(api, id, key) {
  // get storage object
  var rval = _getStorageObject(api, id);
  if(rval !== null) {
    // return data at key
    rval = (key in rval) ? rval[key] : null;
  }

  return rval;
}
function ( api , id , key ) { // get storage object var rval = _getStorageObject ( api , id ) ; if ( rval !== null ) { // return data at key rval = ( key in rval ) ? rval [ key ] : null ; } return rval ; }
Gets an item from local storage.

@param api the storage interface.
@param id the storage ID to use.
@param key the key for the item.

@return the item.
Gets an item from local storage .