File size: 1,468 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
export const authorizeQueryDataSchema = {
	type: 'object',
	required: [
		'_wp_nonce',
		'blogname',
		'client_id',
		'home_url',
		'redirect_uri',
		'scope',
		'secret',
		'site',
		'site_url',
		'state',
	],
	properties: {
		_ui: { type: 'string' },
		_ut: { type: 'string' },
		_wp_nonce: { type: 'string' },
		already_authorized: { type: 'string' },
		auth_approved: { type: 'string' },
		blogname: { type: 'string' },
		client_id: { pattern: '^\\d+$', type: 'string' },
		close_window_after_login: { type: 'string' }, // '1' if true
		close_window_after_auth: { type: 'string' }, // '1' if true
		from: { type: 'string' },
		home_url: { type: 'string' },
		is_popup: { type: 'string' }, // '1' if true
		jp_version: { type: 'string' },
		partner_id: { pattern: '^\\d+$', type: 'string' },
		redirect_after_auth: { type: 'string' },
		redirect_uri: { type: 'string' },
		scope: { type: 'string' },
		secret: { type: 'string' },
		site: { type: 'string' },
		site_icon: { type: 'string' },
		site_lang: { type: 'string' },
		site_url: { type: 'string' },
		state: { type: 'string' },
		user_email: { type: 'string' },
		woodna_service_name: { type: 'string' },
		woodna_help_url: { type: 'string' },
		skip_user: { type: 'string' }, // deprecated, to be removed soon
		allow_site_connection: { type: 'string' }, // '1' if true
		installed_ext_success: { type: 'string' }, // '1' if true
		plugin_name: { type: 'string' },
		color_scheme: { type: 'string' },
	},
};