95 lines
3.8 KiB
JSON
95 lines
3.8 KiB
JSON
{
|
|
"portal_enabled": "true|false",
|
|
"auth": "none|password|hotspot|facebook_wifi|custom",
|
|
"redirect_enabled": "true|false",
|
|
"redirect_url": "",
|
|
"redirect_https": "true|false",
|
|
"redirect_to_https": "true|false",
|
|
"portal_customized": "true|false",
|
|
"portal_use_hostname": "true|false",
|
|
"portal_hostname": "^[a-zA-Z0-9.-]+$|^$",
|
|
"expire": "[\\d]+|custom",
|
|
"expire_number": "^[1-9][0-9]{0,5}|1000000$",
|
|
"expire_unit": "1|60|1440",
|
|
"x_password": "",
|
|
"custom_ip": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$|^$",
|
|
"facebook_enabled": "true|false",
|
|
"facebook_app_id": "",
|
|
"x_facebook_app_secret": "",
|
|
"facebook_scope_email": "true|false",
|
|
"facebook_wifi_gw_id": "",
|
|
"facebook_wifi_gw_name": "",
|
|
"x_facebook_wifi_gw_secret": "",
|
|
"facebook_wifi_block_https": "true|false",
|
|
"google_enabled": "true|false",
|
|
"google_client_id": "",
|
|
"x_google_client_secret": "",
|
|
"google_domain": "",
|
|
"google_scope_email": "true|false",
|
|
"voucher_enabled": "true|false",
|
|
"voucher_customized": "true|false",
|
|
"payment_enabled": "true|false",
|
|
"restricted_subnet_": "",
|
|
"allowed_subnet_": "",
|
|
"restricted_dns_enabled": "false|true",
|
|
"restricted_dns_servers": [
|
|
"^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$|^$"
|
|
],
|
|
"gateway": "paypal|stripe|authorize|quickpay|merchantwarrior|ippay",
|
|
"paypal_use_sandbox": "true|false",
|
|
"x_paypal_username": "",
|
|
"x_paypal_password": "",
|
|
"x_paypal_signature": "",
|
|
"x_stripe_api_key": "",
|
|
"x_quickpay_agreementid": "",
|
|
"x_quickpay_apikey": "",
|
|
"x_quickpay_merchantid": "",
|
|
"quickpay_testmode": "true|false",
|
|
"x_authorize_loginid": "",
|
|
"x_authorize_transactionkey": "",
|
|
"x_merchantwarrior_merchantuuid": "",
|
|
"x_merchantwarrior_apikey": "",
|
|
"x_merchantwarrior_apipassphrase": "",
|
|
"x_ippay_terminalid": "",
|
|
"merchantwarrior_use_sandbox": "false|true",
|
|
"authorize_use_sandbox": "true|false",
|
|
"ippay_use_sandbox": "true|false",
|
|
"template_engine": "jsp|angular",
|
|
"portal_customized_bg_color": "^#[a-zA-Z0-9]{6}$|^#[a-zA-Z0-9]{3}$|^$",
|
|
"portal_customized_bg_image_enabled": "true|false",
|
|
"portal_customized_bg_image_filename": "",
|
|
"portal_customized_bg_image_tile": "true|false",
|
|
"portal_customized_box_color": "^#[a-zA-Z0-9]{6}$|^#[a-zA-Z0-9]{3}$|^$",
|
|
"portal_customized_box_opacity": "^[1-9][0-9]?$|^100$|^$",
|
|
"portal_customized_button_color": "^#[a-zA-Z0-9]{6}$|^#[a-zA-Z0-9]{3}$|^$",
|
|
"portal_customized_button_text_color": "^#[a-zA-Z0-9]{6}$|^#[a-zA-Z0-9]{3}$|^$",
|
|
"portal_customized_link_color": "^#[a-zA-Z0-9]{6}$|^#[a-zA-Z0-9]{3}$|^$",
|
|
"portal_customized_logo_enabled": "true|false",
|
|
"portal_customized_logo_filename": "",
|
|
"portal_customized_text_color": "^#[a-zA-Z0-9]{6}$|^#[a-zA-Z0-9]{3}$|^$",
|
|
"portal_customized_title": "",
|
|
"portal_customized_tos_enabled": "true|false",
|
|
"portal_customized_tos": "",
|
|
"portal_customized_unsplash_author_name": "",
|
|
"portal_customized_unsplash_author_username": "",
|
|
"portal_customized_welcome_text": "",
|
|
"portal_customized_welcome_text_enabled": "true|false",
|
|
"portal_customized_welcome_text_position": "under_logo|above_boxes",
|
|
"portal_customized_box_link_color": "^#[a-zA-Z0-9]{6}$|^#[a-zA-Z0-9]{3}$|^$",
|
|
"portal_customized_box_text_color": "^#[a-zA-Z0-9]{6}$|^#[a-zA-Z0-9]{3}$|^$",
|
|
"portal_customized_languages": [
|
|
"^[a-z]{2}(_[A-Z]{2})*$"
|
|
],
|
|
"radius_enabled": "true|false",
|
|
"radius_auth_type": "chap|mschapv2",
|
|
"radius_disconnect_enabled": "true|false",
|
|
"radius_disconnect_port": "[1-9][0-9]{0,3}|[1-5][0-9]{4}|[6][0-4][0-9]{3}|[6][5][0-4][0-9]{2}|[6][5][5][0-2][0-9]|[6][5][5][3][0-5]",
|
|
"radiusprofile_id": "",
|
|
"wechat_enabled": "true|false",
|
|
"wechat_app_id": "",
|
|
"wechat_shop_id": "",
|
|
"x_wechat_app_secret": "",
|
|
"x_wechat_secret_key": "",
|
|
"ec_enabled": "true|false"
|
|
}
|