xref: /plugin/oauth/conf/metadata.php (revision 3e5be593f2844bd5cd3f1462bf2800fef9d6a6ac)
180852c15SAndreas Gohr<?php
280852c15SAndreas Gohr/**
380852c15SAndreas Gohr * Options for the oauth plugin
480852c15SAndreas Gohr *
580852c15SAndreas Gohr * @author Andreas Gohr <andi@splitbrain.org>
680852c15SAndreas Gohr */
780852c15SAndreas Gohr
8*3e5be593SAndreas Gohr
9*3e5be593SAndreas Gohr$meta['info']                = array(\dokuwiki\plugin\oauth\RedirectSetting::class);
109683193cSMichael Große$meta['custom-redirectURI']  = array('string','_caution' => 'warning');
11d9818adbSMichael Große$meta['mailRestriction']     = array('string','_pattern' => '!^(@[^,@]+(\.[^,@]+)+(,|$))*$!'); // https://regex101.com/r/mG4aL5/3
1298a36116SAndreas Gohr$meta['singleService']       = array('onoff');
13d313403cSAnna Dabrowska$meta['register-on-auth']    = array('onoff','_caution' => 'security');
14