Update docs/asset-implementation.md

This commit is contained in:
Sofía Aritz 2024-08-29 10:49:22 +00:00
parent e3b5cb9f4c
commit 864521787f

View file

@ -15,7 +15,7 @@ The basis of the M2M mechanism are the following:
an user account, etc.
Each request performed by `asset-api` to `identity-api` is signed using the pubkey pair, which allows the `identity-api` to verify
that the requester is the `asset-api` using the retrieved public key. (Implementation: [$/identity-api/src/m2m.js](../identity-api/src/m2m.js))
that the requester is the `asset-api` using the retrieved public key. (Implementation: [$/identity-api/src/m2m.ts](../identity-api/src/m2m.ts))
The request body is signed in a PGP-like manner, this can be seen by accessing the index page of the `asset-api`
([http://localhost:3001/](http://localhost:3001/) in default local environments).