You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specification/mesh-api.yaml
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -212,7 +212,7 @@ info:
212
212
213
213
**Notes**
214
214
- the API rejects the request if the `timestamp` supplied is not within 2 hours of the server time
215
-
- in the example below `HMACSECRETKEY` has been `[REDACTED]`, this is the 'environment shared secret' which you received as part of creating your mailbox
215
+
- in the example below `SHARED_KEY` has been `[REDACTED]`, this is the 'environment shared secret' which you received as part of creating your mailbox
216
216
217
217
### Example implementation
218
218
Here is an implementation of the above in `python3`.
@@ -222,11 +222,11 @@ info:
222
222
import uuid
223
223
import datetime from hashlib
224
224
import sha256
225
-
225
+
226
226
AUTHSCHEMANAME = "NHSMESH " # Note: Space at the end of the schema.
227
-
HMACSECRETKEY = "[REDACTED]" # Note: Don't hard code your passwords in a real implementation.
0 commit comments