-
-
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.
* implementation hawkauth * version bump
- Loading branch information
Showing
17 changed files
with
292 additions
and
131 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '0.0.41' | ||
__version__ = '0.0.42.a1' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@name('hawk auth') | ||
GET https://postman-echo.com/auth/hawk | ||
hawkauth('dh37fgj492je','werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn') | ||
json({}) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@name('hawk auth') | ||
GET https://postman-echo.com/auth/hawk | ||
hawkauth('dh37fgj492je','werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn') | ||
json({}) |
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
67 changes: 67 additions & 0 deletions
67
test/extensions/commands/http2postman/hawk.postman_collection.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
{ | ||
"collection": { | ||
"auth": null, | ||
"event": null, | ||
"info": { | ||
"_postman_id": null, | ||
"description": null, | ||
"name": "hawkauth.http", | ||
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", | ||
"version": null | ||
}, | ||
"item": [ | ||
{ | ||
"description": null, | ||
"event": null, | ||
"id": null, | ||
"name": "hawk auth", | ||
"protocolProfileBehavior": null, | ||
"request": { | ||
"auth": { | ||
"apikey": null, | ||
"awsv4": null, | ||
"basic": null, | ||
"bearer": null, | ||
"digest": null, | ||
"edgegrid": null, | ||
"hawk": [ | ||
{ | ||
"key": "hawkId", | ||
"type": "string", | ||
"value": "dh37fgj492je" | ||
}, | ||
{ | ||
"key": "authKey", | ||
"type": "string", | ||
"value": "werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn" | ||
}, | ||
{ | ||
"key": "algorithm", | ||
"type": "string", | ||
"value": "sha256" | ||
} | ||
], | ||
"noauth": null, | ||
"ntlm": null, | ||
"oauth1": null, | ||
"oauth2": null, | ||
"type": "hawk" | ||
}, | ||
"body": null, | ||
"certificate": null, | ||
"description": "hawk auth", | ||
"header": null, | ||
"method": "GET", | ||
"proxy": null, | ||
"url": "https://postman-echo.com/auth/hawk" | ||
}, | ||
"response": null, | ||
"variable": null, | ||
"auth": null, | ||
"item": null | ||
} | ||
], | ||
"protocolProfileBehavior": null, | ||
"variable": null | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@name('hawk auth') | ||
GET https://postman-echo.com/auth/hawk | ||
hawkauth('dh37fgj492je','werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn') | ||
json({}) |
6 changes: 5 additions & 1 deletion
6
test/extensions/fixtures/hawk-auth-test.postman_collection.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
{"files": {"hawkAuthTest\\imported_from_collection.http": "#!/usr/bin/env dothttp\n\n# imported from https://raw.githubusercontent.com/postmanlabs/newman/v5.2.2/test/integration/hawk-auth-test.postman_collection.json\n\n@name(\"test hawk auth success\")\nGET \"https://postman-echo.com/auth/hawk\"\n\"Authorization\": 'Hawk id=\"dh37fgj492je\", ts=\"1448888081\", nonce=\"HoH6Ay\", ext=\"skjdfklsjhdflkjhsdf\", mac=\"moWleO5f/8QbvIiy7oo2zj1bmezhrYwrCkz4BsXg0M4=\"'\n\n\n\n\n"}} | ||
{ | ||
"files": { | ||
"hawkAuthTest\\imported_from_collection.http": "#!/usr/bin/env dothttp\n\n# imported from https://raw.githubusercontent.com/postmanlabs/newman/v5.2.2/test/integration/hawk-auth-test.postman_collection.json\n\n@name(\"test hawk auth success\")\nGET \"https://postman-echo.com/auth/hawk\"\nhawkauth(\"dh37fgj492je\", \"werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn\", \"sha256\")\n\"Authorization\": 'Hawk id=\"dh37fgj492je\", ts=\"1448888081\", nonce=\"HoH6Ay\", ext=\"skjdfklsjhdflkjhsdf\", mac=\"moWleO5f/8QbvIiy7oo2zj1bmezhrYwrCkz4BsXg0M4=\"'\n\n\n\n\n" | ||
} | ||
} |
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