1<?php 2/** 3 * Auth Plugin Prototype 4 * 5 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) 6 * @author Jan Schumann <js@jschumann-it.com> 7 */ 8// must be run within Dokuwiki 9if(!defined('DOKU_INC')) die(); 10 11/** 12 * All plugins that provide Authentication should inherit from this class and implement 13 * the getAuth() method to make its Auth-System available. 14 * 15 * @author Jan Schumann <js@jschumann-it.com> 16 */ 17class DokuWiki_Auth_Plugin extends DokuWiki_Plugin { 18 19 /** 20 * Retrieves the authentication system 21 */ 22 function getAuth() { 23 trigger_error('getAuth() not implemented in '.get_class($this), E_USER_WARNING); 24 } 25} 26