juspay / hyperswitch-card-vault

Hyperswitch Card Vault is an open-source sensitive information storage system built on Rust.

Home Page:https://opensource.hyperswitch.io/going-live/pci-compliance/card-vault-installation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement middleware for constructing app-state based on request context

Chethan-rao opened this issue · comments

Add support for a custom extractor (similar to middleware), where before hitting the main storage handler, this extractor would validate whether the custodian is unlocked for a tenant. If so, this layer would pass the tenant specific AppState to the next layer (i.e., jw middleware).