This file contains hidden or 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
| import base64 | |
| import hmac | |
| import hashlib | |
| def validate_signature_header(verifier_token, request_body, signature): | |
| # per quickbooks documentation | |
| # 1st step: | |
| # hash the notification payload (request_body) with HMAC_SHA256_ALGORITHM | |
| # using <verifier token> as the key | |
| hmac_hex_digest = hmac.new( |
This file contains hidden or 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
| import React, { | |
| createContext, | |
| useReducer, | |
| useContext, | |
| } from 'react' | |
| type Event = { | |
| title: string; | |
| start: string | Date; | |
| end?: string | Date; |
OlderNewer