-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Endpoints for Submitting and Fetching Credentials Based on Reques…
…t ID (#2183) * add create order item credentials which takes request id * add endpoint for getting credentials by request id * Rearrange code in CreateOrderCreds and fix compilation issues * Tidy up and refactor getOrderCredsByID * Tidy up and refactor getOrderCredsByID further * Clean up further GetSigningOrderRequestOutboxByRequestID * Delete generated garbage * Fix broken tests * Undo unrelated changes * Pass context and database interface to new Datastore method and rename it * Refactor new Datastore method and rename it to GetTLV2Creds * Tidy up GetSingleUseCreds * Tidy up GetSingleUseCreds further * Undo unrelated changes * Handle happy path early * Tidy up GetTimeLimitedCreds * Dont pass entire order where id is enough * Clean up GetCredentials and GetItemCredentials * Add tests for HasItem --------- Co-authored-by: PavelBrm <[email protected]>
- Loading branch information
Showing
9 changed files
with
456 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.