Пример #1
0
 /**
  * Delete *ALL* user authorization states. Use with care. Most of the time you will likely
  * want to use clearAuthorization() instead.
  *
  * @return TokenStorageInterface
  */
 public function clearAllAuthorizationStates()
 {
     $this->sessionScope->set(self::SESSION_STATE, array());
     return $this;
 }
Пример #2
0
 public function testScopeDestroy()
 {
     $scope = new Session\Scope('testScope');
     $this->assertNull($scope->destroy());
 }