captcha-igid
Version:
Authorization service for an intergalactic session
157 lines (142 loc) • 3.7 kB
Plain Text
{
"domain": "copious.world",
"module_path": "./lib",
"port": "2006",
"login_app": [ "/users/login", "/users/logout", "/users/register" ],
"modules": {
"custom_transitions" : "captcha-igid_transitions",
"db" : "shared-table-version/shared-table-captcha-igid_db",
"middleware" : "captcha-igid_mware",
"authorizer" : "captcha-igid_auth",
"validator" : "captcha-igid_validator",
"static_assets" : "captcha-igid_static",
"dynamic_assets" : "captcha-igid_dynamic",
"expression" : "captcha-igid_express",
"business" : "captcha-igid_business",
"transition_engine" : "captcha-igid_transition_engine"
},
"custom_transitions" : false,
"db" : {
"static_sync" : 120000,
"key_value_db" : {
"file_cache" : {},
"disk_storage" : "./test/data",
"check_mem_interval" : false,
"removal_interval" : false,
"repo_bridge" : {
"relayer" : {
"paths" : ["upload-lite","upload-media"],
"upload-lite" : {
"host" : "localhost",
"port" : 2221
},
"upload-media" : {
"host" : "localhost",
"port" : 2223
}
}
}
},
"session_key_value_db" : {
"port" : "abc"
},
"static_db" : {
"delay_relay_module_loading" : true,
"blob_dir" : "local/static_db",
"freeloading_timeout" : 7200000,
"max_data_RAM" : 25000000,
"max_forwarded_storage" : 256,
"knowledge_domains" : {},
"db_file" : "local/static_db/userdata.db"
},
"persistence_db" : {
"knowledge_domains" : {},
"db_file" : "local/userdata.db"
}
},
"middleware": {
"session" : [],
"transforms" : [],
"cors" : "default"
},
"authorizer" : {
"user_cookie" : "copiousToken",
"use_secure_transfer" : false,
"forhash": {
"field1": "ucwid",
"field2": "name"
},
"login_amelioration": "join_process()",
"second_login_amelioration": "already_logged_in()",
"failed_password_amelioration": "login_retry_password()",
"failed_registration_duplicate": "already_registered()"
},
"validator" : {
"field_set": {
"reason": "some fields may be specified in conf, others in the application module",
"login": {
"ucwid": {
"field_type": "lengthy-alpha",
"length": {
"min": 2,
"max": 256
}
},
"strategy": {
"field_type": "igid"
}
},
"register": {
"ucwid": {
"field_type": "lengthy-alpha",
"length": {
"min": 2,
"max": 256
}
},
"name": {
"field_type": "lengthy-alpha",
"length": {
"min": 2,
"max": 32
}
}
}
}
},
"static_assets" : {
"static_files": {
"reason": "files listed here will override the directory entries",
"files": [],
"directory": "statics",
"app_spec": "captcha/static"
}
},
"dynamic_assets" : false,
"business" : {
"rules" : false,
"forgetfulness_tag" : false,
"html_wrapper_with_logo": "personals-templates/header-empty.html"
},
"transition_engine" : {
"transition_files" : {
"EMFILE_handler" : false
}
},
"web_sockets" : {
"web_socket_class" : false,
"web_socket_server_class" : false,
"http_module" : false,
"ports" : {
"port_names" : [ "ws_port", "wss_app_port" ],
"defs" : {
"ws_port": "2007",
"ws_client_port" : false
}
}
},
"endpoint_server" : {},
"link_manager" : {
"link_manager_paths" : false
}
}