xref: /plugin/oauth/conf/metadata.php (revision 290e9b1f10bf4135eb82799dc58da0055064d995)
180852c15SAndreas Gohr<?php
2*290e9b1fSAndreas 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');
11*290e9b1fSAndreas Gohr// https://regex101.com/r/mG4aL5/3
12*290e9b1fSAndreas Gohr$meta['mailRestriction']     = array('string','_pattern' => '!^(@[^,@]+(\.[^,@]+)+(,|$))*$!');
1398a36116SAndreas Gohr$meta['singleService']       = array('onoff');
14d313403cSAnna Dabrowska$meta['register-on-auth']    = array('onoff','_caution' => 'security');
15ad56356cSAnna Dabrowska$meta['overwrite-groups']    = array('onoff','_caution' => 'danger');
16