public function handleToken($invalidTokenBehavior, $isValid)
    {
        $status = true;

        // If we encounter an error in token relation we need to pass this task to token handler.
        if (true !== $isValid) {
            $status = $this->handleInvalidToken($invalidTokenBehavior);
        }

        return $status;
    }
public function handleToken($invalidTokenBehavior, $isValid)
    {
        $status = true;

        // If we encounter an error in token relation we need to pass this task to token handler.
        if (true !== $isValid) {
            $status = $this->handleInvalidToken($invalidTokenBehavior);
        }

        return $status;
    }
public function handleToken ( $ invalidTokenBehavior , $ isValid ) { $ status = true ; // If we encounter an error in token relation we need to pass this task to token handler. if ( true !== $ isValid ) { $ status = $ this -> handleInvalidToken ( $ invalidTokenBehavior ) ; } return $ status ; }
Handler entry for handling an token state and behavior passed in.
Validation is explicitly not part of this handler. Validation is configurable
and so up to your imagination and we don't want to stop that.

@param int  $invalidTokenBehavior Behavior to apply.
@param bool $isValid              State of token (either valid = TRUE, or invalid = FALSE).

@author Benjamin Carl <opensource@clickalicious.de>

@return bool TRUE if handled, FALSE => requires invalidation of data stored in pool outside!
Handler entry for handling an token state and behavior passed in . Validation is explicitly not part of this handler . Validation is configurable and so up to your imagination and we don t want to stop that .