protected function get_stored_token() {
        global $SESSION;

        $name = $this->get_tokenname();

        if (isset($SESSION->{$name})) {
            return $SESSION->{$name};
        }

        return null;
    }
protected function get_stored_token() {
        global $SESSION;

        $name = $this->get_tokenname();

        if (isset($SESSION->{$name})) {
            return $SESSION->{$name};
        }

        return null;
    }
protected function get_stored_token ( ) { global $ SESSION ; $ name = $ this -> get_tokenname ( ) ; if ( isset ( $ SESSION -> { $ name } ) ) { return $ SESSION -> { $ name } ; } return null ; }
Retrieve a token stored.

@return stdClass|null token object
Retrieve a token stored .