-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consumer API: Password-protected Tokens (#909)
* feat: implement password protected tokens * chore: remove unused methods * chore: remove empty line * test: add tests for anonymous user fetching tokens * fix: add check for existing allocations to relationship template CanBeCollectedWithPassword expression * chore: add explaining comments to password checks in Token.cs * refactor: don't use queryable extensions; instead use expressions in entity * refactor: remove redundant "when not null" check from validator * refactor: rename things * fix: re-add check for "password is not null" to validators * test: add can be collected with password tests * test: check for status code in get multiple templates feature file * test: check for status code in get multiple tokens feature file * fix: don't throw ArgumentNullException in ReplaceExpressionVisitor * test: fix naming * fix: use correct error message in validator tests * fix: use correct error message in CreateToken validator tests * test: add tests for anonymous user --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Timo Notheisen <[email protected]>
- Loading branch information
1 parent
de93171
commit ddcf3e1
Showing
50 changed files
with
748 additions
and
178 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
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
Oops, something went wrong.