xref: /plugin/oauth/conf/metadata.php (revision ad56356cfe4098c27e80fae5b3d8839d6b76e4e5)
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
83e5be593SAndreas Gohr
93e5be593SAndreas 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*ad56356cSAnna Dabrowska$meta['overwrite-groups']    = array('onoff','_caution' => 'danger');
15