180852c15SAndreas Gohr<?php 2290e9b1fSAndreas Gohr 380852c15SAndreas Gohr/** 480852c15SAndreas Gohr * Options for the oauth plugin 580852c15SAndreas Gohr * 680852c15SAndreas Gohr * @author Andreas Gohr <andi@splitbrain.org> 780852c15SAndreas Gohr */ 880852c15SAndreas Gohr 93e5be593SAndreas Gohr$meta['info'] = array(\dokuwiki\plugin\oauth\RedirectSetting::class); 109683193cSMichael Große$meta['custom-redirectURI'] = array('string','_caution' => 'warning'); 11290e9b1fSAndreas Gohr// https://regex101.com/r/mG4aL5/3 12290e9b1fSAndreas Gohr$meta['mailRestriction'] = array('string','_pattern' => '!^(@[^,@]+(\.[^,@]+)+(,|$))*$!'); 13*fe49fd82SAndreas Gohr$meta['mailEnforcement'] = array('string','_pattern' => '!^(@[^,@]+(\.[^,@]+)+(,|$))*$!'); 1498a36116SAndreas Gohr$meta['singleService'] = array('onoff'); 15d313403cSAnna Dabrowska$meta['register-on-auth'] = array('onoff','_caution' => 'security'); 16ad56356cSAnna Dabrowska$meta['overwrite-groups'] = array('onoff','_caution' => 'danger'); 17