Beispiel #1
0
 /**
  * ParseClient::_unsetStorage, will null the storage object.
  *
  * Without some ability to clear the storage objects, all test cases would
  *   use the first assigned storage object.
  *
  * @return null
  * @ignore
  */
 public static function _unsetStorage()
 {
     self::$storage = null;
 }
Beispiel #2
0
 /**
  * Sets maximum number of seconds of request/response operation.
  * Use 0 to wait indefinitely, null to default behaviour.
  *
  * @param int|null $timeout
  */
 public static function setTimeout($timeout)
 {
     self::$timeout = $timeout;
 }
Beispiel #3
0
 /**
  * Allows an existing application to start using revocable sessions, without forcing
  * all requests for the app to use them.    After calling this method, login & signup requests
  * will be returned a unique and revocable session token.
  *
  * @return null
  */
 public static function enableRevocableSessions()
 {
     self::$forceRevocableSession = true;
 }