This app is dedicated to user authentication and personal data storage in trusted execution environments.
preRegister
- Transaction, registers the user email address
{ "email": "alice@bob.com" }
{ "success": true }
emailChallenge
- Query, sends a challenge to the user email address for verification
{ }
{ "success": true }
register
- Transaction, verifies email challenge and finalises registration
{ "emailChallenge": "1234ABCD", "deviceName": "Name", "pushNotificationConfig": { "token": "123456789", "encryptionKey": "abcde...zyx==" } }
{ "success": true, "result": { "deviceId": "abcde...zyx==", "seedTOTP": "abcde...zyx==" } }
getRecoveryConfig
- Query, get the user recovery config
{ }
{ "success": true, "result": { "friends": [ "chloe@bob.com", "david@bob.com", "elodie@bob.com" ], "threshold": 2 } }
manageRecoveryFriend
- Transaction, add/remove a trusted friend for the account recovery process
{ "email": "francois@bob.com", "operation": "add", "threshold": 3 }
{ "success": true }