public function admin_delete_token_confirmation($token) {
        global $CFG;
        $optionsyes = array('tokenid' => $token->id, 'action' => 'delete',
            'confirm' => 1, 'sesskey' => sesskey());
        $optionsno = array('section' => 'webservicetokens', 'sesskey' => sesskey());
        $formcontinue = new single_button(
                        new moodle_url('/' . $CFG->admin . '/webservice/tokens.php', $optionsyes),
                        get_string('delete'));
        $formcancel = new single_button(
                        new moodle_url('/' . $CFG->admin . '/settings.php', $optionsno),
                        get_string('cancel'), 'get');
        return $this->output->confirm(get_string('deletetokenconfirm', 'webservice',
                        (object) array('user' => $token->firstname . " "
                            . $token->lastname, 'service' => $token->name)),
                $formcontinue, $formcancel);
    }