METAHEAP

ht.checkpoint.pass()

PASS is the equivalent to REGISTER on other websites.

PASS --> SSAP --> PASS ... ACK
let username = "Alice" // public-key
let password = "Bob" // private-key
let id = username // license plate
let highway = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz" // road
let driveway = ht.secret(2 * 26, highway) // road
// --with--
ht.mobile(id) // vehicle
ht.lane(id, highway) // transport
ht.turn(id, driveway)
ht.beep(id)
ht.pass(id, username, password)
// --or--
ht.move(id, highway).turn(driveway).beep().pass(username, password)
// mobile: start...
// lane: transporting...
// listen: AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
// turn: exit AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
// turn: enter hWnKAoQDyazFbNHAYGRebXMJBNTyNbMAOnAUhxrxrBUxNkJacLzW
// listen: hWnKAoQDyazFbNHAYGRebXMJBNTyNbMAOnAUhxrxrBUxNkJacLzW
// beep: hWnKAoQDyazFbNHAYGRebXMJBNTyNbMAOnAUhxrxrBUxNkJacLzW
// beep: HONK
// checkpoint.pass: register Alice
// checkpoint.pass: {topic: "SFS:user_register", username: "Alice"}
// checkpoint.ack: login Alice
// checkpoint.ack: {topic: "SFS:user_login", token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJKb…jZSJ9.EpKPOZ7NvwrqXSfj5e1dgHx_etN_KdcWN0H0IJj2XrQ", username: "Alice", verify: true}

UPWARD :)

METAHEAP