-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
I find the name of the class VaultContext
as well as members currentUser
and tokenPayload
vague:
https://github.com/MetaState-Prototype-Project/prototype/blob/main/infrastructure/evault-core/src/protocol/vault-access-guard.ts#L7
I think they should be renamed or better documented.
- The context is more for the incoming request than of the vault
- currentUser is precisely a w3id (ename) of the user sending the request (or on behalf of which it is made)
- tokenPayload is a token that authenitcates a "certified" platform making the request
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation