1<?php
2/**
3 * Options for the oauth plugin
4 *
5 * @author Andreas Gohr <andi@splitbrain.org>
6 */
7
8
9$meta['info']                = array(\dokuwiki\plugin\oauth\RedirectSetting::class);
10$meta['custom-redirectURI']  = array('string','_caution' => 'warning');
11$meta['mailRestriction']     = array('string','_pattern' => '!^(@[^,@]+(\.[^,@]+)+(,|$))*$!'); // https://regex101.com/r/mG4aL5/3
12$meta['singleService']       = array('onoff');
13$meta['register-on-auth']    = array('onoff','_caution' => 'security');
14$meta['overwrite-groups']    = array('onoff','_caution' => 'danger');
15