summaryrefslogtreecommitdiffhomepage
path: root/example/index.js
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-05-22 12:11:01 -0700
committerMatthew Miller <matthew@millerti.me>2020-05-22 12:11:01 -0700
commit9948cb5a798406348c9025d69903196e94bc4d7a (patch)
tree7715668f619b52a7f7a730b3ceb5f67edeaaea0e /example/index.js
parent1ea1893f32342a1e21e2ba9304adfca0ae9b3a3e (diff)
Add endpoint for verifying attestation
Diffstat (limited to 'example/index.js')
-rw-r--r--example/index.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/example/index.js b/example/index.js
index 2c274e1..46a7513 100644
--- a/example/index.js
+++ b/example/index.js
@@ -40,6 +40,12 @@ app.get('/generate-attestation-options', (req, res) => {
));
});
+app.post('/verify-attestation', (req, res) => {
+ const { body } = req;
+
+ console.log('verifying:', body);
+});
+
app.post('/verify-registration', (req, res) => {
const { body } = req;
});