コード例 #1
0
ファイル: Session.php プロジェクト: vegas-cmf/oauth
 /**
  * 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
ファイル: ScopeTest.php プロジェクト: vegas-cmf/session
 public function testScopeDestroy()
 {
     $scope = new Session\Scope('testScope');
     $this->assertNull($scope->destroy());
 }