{"id":22026172,"url":"https://github.com/mobomo/guzzle-azure-hmac-auth","last_synced_at":"2026-05-01T01:32:39.185Z","repository":{"id":173127186,"uuid":"650284513","full_name":"mobomo/guzzle-azure-hmac-auth","owner":"mobomo","description":"Guzzle middleware for Azure HMAC auth","archived":false,"fork":false,"pushed_at":"2023-06-06T18:57:51.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":24,"default_branch":"main","last_synced_at":"2025-10-14T04:23:42.570Z","etag":null,"topics":["authentication","authentication-middleware","azure","guzzle","guzzle-middleware","hmac"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mobomo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-06T18:35:44.000Z","updated_at":"2023-06-06T18:41:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"994ee679-2142-4a87-9246-1d4c424decd7","html_url":"https://github.com/mobomo/guzzle-azure-hmac-auth","commit_stats":null,"previous_names":["mobomo/guzzle-azure-hmac-auth"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mobomo/guzzle-azure-hmac-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobomo%2Fguzzle-azure-hmac-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobomo%2Fguzzle-azure-hmac-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobomo%2Fguzzle-azure-hmac-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobomo%2Fguzzle-azure-hmac-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mobomo","download_url":"https://codeload.github.com/mobomo/guzzle-azure-hmac-auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobomo%2Fguzzle-azure-hmac-auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32482460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","authentication-middleware","azure","guzzle","guzzle-middleware","hmac"],"created_at":"2024-11-30T07:25:34.799Z","updated_at":"2026-05-01T01:32:39.169Z","avatar_url":"https://github.com/mobomo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Usage\n\n```php\nuse GuzzleHttp\\Client;\nuse GuzzleHttp\\HandlerStack;\nuse GuzzleHttp\\Psr7\\Request;\nuse Mobomo\\AzureHmacAuth\\AzureHMACMiddleware;\n\n$azureHMACMiddleware = new AzureHMACMiddleware('\u003csecret key\u003e');\n\n$handlerStack = HandlerStack::create();\n$handlerStack-\u003epush($azureHMACMiddleware, 'hmac-auth');\n\n$resourceEndpoint = \"https://\u003chostname\u003e.communication.azure.com\";\n$requestPath = \"/emails:send?api-version=2023-03-31\";\n$requestUri = \"{$resourceEndpoint}{$requestPath}\";\n\n$serializedBody = \"\u003cjson\u003e\";\n\n$client = new Client([\n    'handler' =\u003e $handlerStack,\n]);\n$requestMessage = new Request(\n    'POST',\n    $requestUri,\n    array(\n        'Content-Type' =\u003e 'application/json',\n    ),\n    $serializedBody\n);\n\n$response = $client-\u003esend($requestMessage);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmobomo%2Fguzzle-azure-hmac-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmobomo%2Fguzzle-azure-hmac-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmobomo%2Fguzzle-azure-hmac-auth/lists"}