public function clearAuthorizationState($service)
    {
        $service = $this->normalizeServiceName($service);

        $states = $this->sessionScope->get(self::SESSION_STATE);
        if (array_key_exists($service, $states)) {
            unset($states, $service);
        }
        $this->sessionScope->set(self::SESSION_STATE, $states);

        return $this;
    }
public function clearAuthorizationState($service)
    {
        $service = $this->normalizeServiceName($service);

        $states = $this->sessionScope->get(self::SESSION_STATE);
        if (array_key_exists($service, $states)) {
            unset($states, $service);
        }
        $this->sessionScope->set(self::SESSION_STATE, $states);

        return $this;
    }
public function clearAuthorizationState ( $ service ) { $ service = $ this -> normalizeServiceName ( $ service ) ; $ states = $ this -> sessionScope -> get ( self :: SESSION_STATE ) ; if ( array_key_exists ( $ service , $ states ) ) { unset ( $ states , $ service ) ; } $ this -> sessionScope -> set ( self :: SESSION_STATE , $ states ) ; return $ this ; }
Clear the authorization state of a given service

@param string $service

@return TokenStorageInterface
Clear the authorization state of a given service