This app is dedicated to user authentication and personal data storage in trusted execution environments.
preRegister
- Transaction, registers the user email address
{ "email": "[email protected]" }
{ "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": [ "[email protected]", "[email protected]", "[email protected]" ], "threshold": 2 } }
manageRecoveryFriend
- Transaction, add/remove a trusted friend for the account recovery process
{ "email": "[email protected]", "operation": "add", "threshold": 3 }
{ "success": true }