LingshaSR/sdkserver/bin/auth.ml

11 lines
783 B
OCaml
Raw Normal View History

2024-08-03 12:05:09 +00:00
module S = Tiny_httpd
let risky_api_check _req =
S.Response.make_string (Ok "{\"data\": {}, \"message\": \"OK\", \"retcode\": 0}")
let mdk_shield_login _req =
S.Response.make_string (Ok "{\"data\":{\"account\":{\"area_code\":\"**\",\"email\":\"LingshaSR\",\"country\":\"RU\",\"is_email_verify\":\"1\",\"token\":\"mostsecuretokenever\",\"uid\":\"1337\"},\"device_grant_required\":false,\"reactivate_required\":false,\"realperson_required\":false,\"safe_mobile_required\":false},\"message\":\"OK\",\"retcode\":0}")
let granter_login_v2 _req =
S.Response.make_string (Ok "{\"data\":{\"account_type\":1,\"combo_id\":\"1337\",\"combo_token\":\"mostsecuretokenever\",\"data\":\"{\\\"guest\\\":false}\",\"heartbeat\":false,\"open_id\":\"1337\"},\"message\":\"OK\",\"retcode\":0}")