forked from Jigsaw-Code/outline-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(server): add a new
PUT
method to create a key with a specific …
…identifier (Jigsaw-Code#1473) * feat(server): add optional `id` parameter to `createNewAccessKey` method * Use `PUT` instead of `POST`. * Make changes based on review. * Update access key creation path to only allow ID on `PUT` calls. * Expand test scenarios for key generation to `createAccessKey`. * Add a `toHavePropertiesOf` custom Jasmine matcher. * Add explicit test case for `ConflictError`. * Revert "Add a `toHavePropertiesOf` custom Jasmine matcher." This reverts commit 134e0df.
- Loading branch information
Showing
7 changed files
with
400 additions
and
197 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
Oops, something went wrong.